Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(OpenIPSL.Examples.RaPIdExperiments.Mostar,fileNamePrefix="OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.662/1.662, allocations: 205.3 MB / 213.4 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000925/0.000925, allocations: 95.36 kB / 261.4 MB, free: 13.45 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08218/0.08218, allocations: 12.19 MB / 321.5 MB, free: 1.199 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3066/0.3066, allocations: 78.07 MB / 450.3 MB, free: 3.473 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.593e-05/1.592e-05, allocations: 4 kB / 0.5142 GB, free: 29.97 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1049, allocations: 69.23 MB / 0.5818 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5121/0.6171, allocations: 107.8 MB / 0.6871 GB, free: 0.8906 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.6174, allocations: 78.83 kB / 0.6872 GB, free: 0.8516 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09727/0.7147, allocations: 38.23 MB / 0.7245 GB, free: 1.828 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.7147, allocations: 0 / 0.7245 GB, free: 1.828 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.7148, allocations: 32 kB / 0.7245 GB, free: 1.797 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003931/0.7188, allocations: 1.732 MB / 0.7262 GB, free: 124 kB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.7188, allocations: 12.03 kB / 0.7262 GB, free: 112 kB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/0.7199, allocations: 281 kB / 0.7265 GB, free: 15.84 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001663/0.7215, allocations: 1.057 MB / 0.7275 GB, free: 15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.7218, allocations: 179.7 kB / 0.7277 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001437/0.722, allocations: 60 kB / 0.7278 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001502/0.7235, allocations: 0.851 MB / 0.7286 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.7251, allocations: 1.028 MB / 0.7296 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.204e-05/0.7252, allocations: 0 / 0.7296 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.136e-05/0.7253, allocations: 7.875 kB / 0.7296 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.7253, allocations: 24 kB / 0.7296 GB, free: 13.42 MB / 474.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007241/0.7326, allocations: 4.994 MB / 0.7345 GB, free: 9.453 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007302/0.7399, allocations: 2.642 MB / 0.7371 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000662/0.7406, allocations: 442.3 kB / 0.7375 GB, free: 6.828 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.716e-05/0.7407, allocations: 32.78 kB / 0.7375 GB, free: 6.801 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008783/0.7416, allocations: 0.5729 MB / 0.7381 GB, free: 6.402 MB / 474.7 MB Notification: Performance of pre-optimization done (n=101): time 3.277e-06/0.7416, allocations: 0 / 0.7381 GB, free: 6.402 MB / 474.7 MB Notification: Performance of matching and sorting (n=101): time 0.004341/0.7459, allocations: 1.597 MB / 0.7397 GB, free: 5.133 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.7461, allocations: 273.6 kB / 0.7399 GB, free: 4.805 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001571/0.7477, allocations: 1.024 MB / 0.7409 GB, free: 4.074 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001098/0.7478, allocations: 29.7 kB / 0.741 GB, free: 4.039 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005288/0.7483, allocations: 0.6865 MB / 0.7416 GB, free: 3.602 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003401/0.7487, allocations: 354.8 kB / 0.742 GB, free: 3.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.217e-05/0.7487, allocations: 3.938 kB / 0.742 GB, free: 3.246 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.7489, allocations: 353.9 kB / 0.7423 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006418/0.7495, allocations: 414.6 kB / 0.7427 GB, free: 2.492 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.7504, allocations: 0.6253 MB / 0.7433 GB, free: 1.789 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008366/0.7512, allocations: 478.2 kB / 0.7438 GB, free: 1.328 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7512, allocations: 4 kB / 0.7438 GB, free: 1.324 MB / 474.7 MB Notification: Performance of matching and sorting (n=162) (initialization): time 0.004914/0.7561, allocations: 2.235 MB / 0.746 GB, free: 15.06 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005622/0.7567, allocations: 1.524 MB / 0.7474 GB, free: 13.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.7567, allocations: 4 kB / 0.7474 GB, free: 13.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004398/0.7611, allocations: 1.373 MB / 0.7488 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005848/0.7617, allocations: 151.8 kB / 0.7489 GB, free: 11.91 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0051/0.7669, allocations: 4.381 MB / 0.7532 GB, free: 7.406 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.7685, allocations: 175.1 kB / 0.7534 GB, free: 7.234 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.7686, allocations: 48 kB / 0.7534 GB, free: 7.188 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.7687, allocations: 7.953 kB / 0.7534 GB, free: 7.18 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004037/0.7727, allocations: 1.747 MB / 0.7551 GB, free: 5.414 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.557e-06/0.7727, allocations: 4 kB / 0.7551 GB, free: 5.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004305/0.777, allocations: 1.264 MB / 0.7564 GB, free: 4.125 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000596/0.7777, allocations: 151.8 kB / 0.7565 GB, free: 3.977 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007342/0.785, allocations: 7.39 MB / 0.7637 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00186/0.7869, allocations: 127.1 kB / 0.7639 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002635/0.7872, allocations: 47.98 kB / 0.7639 GB, free: 11.92 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: sT5B.imLimitedLeadLag.gain.y:VARIABLE() "Output signal connector" type: Real sT5B.K_r.y:VARIABLE() "Output signal connector" type: Real sT5B.VR0:VARIABLE(unit = "1" fixed = false protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,sT5B.imLimitedLeadLag5.integrator.local_reset,sT5B.imLimitedLeadLag4.integrator.local_reset,sT5B.imLimitedLeadLag3.integrator.local_reset,sT5B.imLimitedLeadLag1.integrator.local_reset,sT5B.imLimitedLeadLag2.integrator.local_reset,sT5B.imLimitedLeadLag.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 4,1 4,1 4,1 4,10 52} Notification: Performance of prepare postOptimizeDAE: time 0.0006499/0.7879, allocations: 138.6 kB / 0.764 GB, free: 11.78 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004658/0.7925, allocations: 1.586 MB / 0.7656 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005649/0.7931, allocations: 154.1 kB / 0.7657 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004736/0.7979, allocations: 1.639 MB / 0.7673 GB, free: 8.371 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.7979, allocations: 12 kB / 0.7673 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/0.7979, allocations: 0 / 0.7673 GB, free: 8.359 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.544e-05/0.7979, allocations: 11.91 kB / 0.7674 GB, free: 8.348 MB / 0.4948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.8056, allocations: 3.325 MB / 0.7706 GB, free: 4.926 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.8056, allocations: 4.031 kB / 0.7706 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009742/0.8066, allocations: 187.8 kB / 0.7708 GB, free: 4.738 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001801/0.8085, allocations: 497.3 kB / 0.7713 GB, free: 4.246 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/0.8086, allocations: 11.98 kB / 0.7713 GB, free: 4.234 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005297/0.8139, allocations: 2.989 MB / 0.7742 GB, free: 1.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.8139, allocations: 4 kB / 0.7742 GB, free: 1.125 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006022/0.8199, allocations: 2.303 MB / 0.7764 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008629/0.8208, allocations: 254.9 kB / 0.7767 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005249/0.8214, allocations: 4 kB / 0.7767 GB, free: 14.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001554/0.823, allocations: 123.9 kB / 0.7768 GB, free: 14.39 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003905/0.8234, allocations: 125.1 kB / 0.7769 GB, free: 14.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.564e-05/0.8235, allocations: 27.98 kB / 0.7769 GB, free: 14.24 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001872/0.8253, allocations: 0.7742 MB / 0.7777 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8254, allocations: 0 / 0.7777 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002829/0.8282, allocations: 0.5494 MB / 0.7782 GB, free: 12.91 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 13 (gENSAL.w,gENSAL.delta,gENSAL.Epq,gENSAL.PSIkd,gENSAL.PSIppq,sT5B.imLimitedLeadLag.integrator.y,sT5B.imLimitedLeadLag2.integrator.y,sT5B.imLimitedLeadLag1.integrator.y,sT5B.imLimitedLeadLag3.integrator.y,sT5B.imLimitedLeadLag4.integrator.y,sT5B.imLimitedLeadLag5.integrator.y,sT5B.simpleLagLimVar.state,sT5B.TransducerDelay.state) * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.005799/0.834, allocations: 2.945 MB / 0.7811 GB, free: 9.934 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007228/0.8413, allocations: 3.055 MB / 0.7841 GB, free: 6.797 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.054e-06/0.8413, allocations: 4.062 kB / 0.7841 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.8431, allocations: 0.8672 MB / 0.785 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.8444, allocations: 150.8 kB / 0.7851 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005929/0.8503, allocations: 2.362 MB / 0.7874 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009123/0.8513, allocations: 1.236 MB / 0.7886 GB, free: 2.062 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001231/0.8525, allocations: 229.1 kB / 0.7888 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007769/0.8533, allocations: 0.5656 MB / 0.7894 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of SimCode: time 1.002e-06/0.8533, allocations: 0 / 0.7894 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07797/0.9313, allocations: 36.46 MB / 0.825 GB, free: 12.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002331/0.9316, allocations: 138.6 kB / 0.8251 GB, free: 12.69 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.59/4.521, allocations: 3.938 kB / 0.8251 GB, free: 12.68 MB / 0.5573 GB (rm -f OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; mkfifo OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe ; head -c 1048576 < OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe >> ../files/OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 OpenIPSL_2_0_0_OpenIPSL_Examples_RaPIdExperiments_Mostar.fmu > OpenIPSL_2.0.0_OpenIPSL.Examples.RaPIdExperiments.Mostar.pipe 2>&1)