Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP") translateModel(ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00174/0.00174, allocations: 174.3 kB / 16.12 MB, free: 5.656 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 223.3 MB / 240.1 MB, free: 11.74 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007821/0.0007821, allocations: 96.58 kB / 291.3 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8805/0.8805, allocations: 122.9 MB / 465.3 MB, free: 12.29 MB / 346.7 MB Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/TILMedia/package.mo): time 0.09524/0.09524, allocations: 20.29 MB / 0.549 GB, free: 19.25 MB / 378.8 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 50000 Notification: Performance of FrontEnd - loaded program: time 0.0004889/0.000489, allocations: 23.94 kB / 0.6407 GB, free: 5.816 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4462/0.4467, allocations: 81.83 MB / 0.7206 GB, free: 39.67 MB / 490.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1746/0.6214, allocations: 124.8 MB / 0.8425 GB, free: 0.9062 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003624/0.6218, allocations: 104.5 kB / 0.8426 GB, free: 0.8047 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.0243/0.6461, allocations: 8.525 MB / 0.8509 GB, free: 8.285 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.324e-06/0.6462, allocations: 0 / 0.8509 GB, free: 8.285 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.011e-05/0.6462, allocations: 12 kB / 0.8509 GB, free: 8.273 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001479/0.6477, allocations: 0.7702 MB / 0.8516 GB, free: 7.445 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.6478, allocations: 12.03 kB / 0.8517 GB, free: 7.434 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001996/0.648, allocations: 64.19 kB / 0.8517 GB, free: 7.371 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008053/0.6488, allocations: 450.5 kB / 0.8521 GB, free: 6.895 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/0.6489, allocations: 29.03 kB / 0.8522 GB, free: 6.867 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.737e-05/0.649, allocations: 36.38 kB / 0.8522 GB, free: 6.832 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008308/0.6498, allocations: 477 kB / 0.8527 GB, free: 6.336 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6498, allocations: 3.938 kB / 0.8527 GB, free: 6.332 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.6499, allocations: 17.5 kB / 0.8527 GB, free: 6.316 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.119e-05/0.6499, allocations: 8 kB / 0.8527 GB, free: 6.309 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006258/0.6505, allocations: 322.4 kB / 0.853 GB, free: 5.992 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002421/0.653, allocations: 1.48 MB / 0.8544 GB, free: 4.438 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009642/0.6539, allocations: 0.5257 MB / 0.855 GB, free: 3.859 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.6543, allocations: 245.2 kB / 0.8552 GB, free: 3.602 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 3.463e-05/0.6544, allocations: 8.219 kB / 0.8552 GB, free: 3.594 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005467/0.6549, allocations: 365.6 kB / 0.8555 GB, free: 3.195 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=39): time 3.877e-06/0.655, allocations: 0 / 0.8555 GB, free: 3.195 MB / 0.5574 GB Notification: Performance of matching and sorting (n=39): time 0.001487/0.6565, allocations: 0.7876 MB / 0.8563 GB, free: 2.398 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.6566, allocations: 266.1 kB / 0.8566 GB, free: 2.078 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005201/0.6572, allocations: 453.9 kB / 0.857 GB, free: 1.629 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.946e-05/0.6572, allocations: 37.7 kB / 0.857 GB, free: 1.586 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.6574, allocations: 248.6 kB / 0.8573 GB, free: 1.336 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001259/0.6575, allocations: 122.3 kB / 0.8574 GB, free: 1.215 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-05/0.6576, allocations: 8 kB / 0.8574 GB, free: 1.207 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.6577, allocations: 366.9 kB / 0.8578 GB, free: 0.8398 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.6581, allocations: 184.8 kB / 0.8579 GB, free: 0.6562 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004258/0.6585, allocations: 291.4 kB / 0.8582 GB, free: 344 kB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003435/0.662, allocations: 1.351 MB / 0.8595 GB, free: 14.93 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.081e-06/0.662, allocations: 4 kB / 0.8595 GB, free: 14.92 MB / 0.573 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001167/0.6632, allocations: 0.6684 MB / 0.8602 GB, free: 14.24 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001486/0.6633, allocations: 189.5 kB / 0.8604 GB, free: 14.02 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.6634, allocations: 7.938 kB / 0.8604 GB, free: 14.01 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.6634, allocations: 7.984 kB / 0.8604 GB, free: 14 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.664, allocations: 135.8 kB / 0.8605 GB, free: 13.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001691/0.6657, allocations: 1.491 MB / 0.862 GB, free: 12.24 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002846/0.666, allocations: 47.67 kB / 0.862 GB, free: 12.19 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.666, allocations: 20 kB / 0.862 GB, free: 12.17 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 8.036e-06/0.666, allocations: 4 kB / 0.862 GB, free: 12.17 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009565/0.667, allocations: 0.6025 MB / 0.8626 GB, free: 11.56 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.667, allocations: 4 kB / 0.8626 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.424e-06/0.667, allocations: 4 kB / 0.8626 GB, free: 11.55 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.6675, allocations: 128.1 kB / 0.8627 GB, free: 11.43 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001513/0.6691, allocations: 1.495 MB / 0.8642 GB, free: 9.793 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002581/0.6693, allocations: 47.67 kB / 0.8643 GB, free: 9.746 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.6694, allocations: 20 kB / 0.8643 GB, free: 9.727 MB / 0.573 GB Warning: Assuming fixed start value for the following 1 variables: PI_1ph_in.switch_OnOff.u2:DISCRETE(fixed = true ) "Connector of Boolean input signal" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.PI_1ph_in.switch_OnOff.u2,$PRE.PI_1ph_in.time_lag_I_activation.entryTime,$whenCondition3,$whenCondition1,$whenCondition2,step.a,step.b,step.last,$PRE.step.nextEvent,step.nextEvent,step.nextEventScaled,PI_1ph_in.switch_OnOff.u2,PI_1ph_in.time_lag_I_activation.entryTime,PI_1ph_in.I_activation.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004533/0.6698, allocations: 312.7 kB / 0.8646 GB, free: 9.406 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.743e-05/0.67, allocations: 59.41 kB / 0.8646 GB, free: 9.348 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.6711, allocations: 0.6245 MB / 0.8652 GB, free: 8.715 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.6711, allocations: 11.98 kB / 0.8652 GB, free: 8.703 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.6711, allocations: 0 / 0.8652 GB, free: 8.703 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/0.6711, allocations: 9.688 kB / 0.8653 GB, free: 8.695 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002045/0.6732, allocations: 1.306 MB / 0.8665 GB, free: 7.32 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.6732, allocations: 0 / 0.8665 GB, free: 7.32 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003037/0.6735, allocations: 71.94 kB / 0.8666 GB, free: 7.25 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.6735, allocations: 4 kB / 0.8666 GB, free: 7.246 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.6736, allocations: 15.98 kB / 0.8666 GB, free: 7.23 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.6736, allocations: 7.938 kB / 0.8666 GB, free: 7.223 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.6736, allocations: 0 / 0.8666 GB, free: 7.223 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.6752, allocations: 1.036 MB / 0.8676 GB, free: 6.148 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.6753, allocations: 128.3 kB / 0.8678 GB, free: 6.004 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.125e-05/0.6754, allocations: 19.92 kB / 0.8678 GB, free: 5.984 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002393/0.6756, allocations: 27.98 kB / 0.8678 GB, free: 5.957 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.203e-05/0.6757, allocations: 27.91 kB / 0.8678 GB, free: 5.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.625e-05/0.6758, allocations: 27.98 kB / 0.8679 GB, free: 5.902 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0004203/0.6762, allocations: 315.1 kB / 0.8682 GB, free: 5.594 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6762, allocations: 0 / 0.8682 GB, free: 5.594 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007252/0.677, allocations: 187.5 kB / 0.8683 GB, free: 5.41 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (PI_1ph_in.smoothPIDInput.y_aux,PI_1ph_in.smoothPIDOutput.y_aux,PI_1ph_in.smoothPIDOutput1.y_aux,PI_1ph_in.resetValueI,stopablePI.outputI,PI_1ph_in.resetValueP,PI_1ph_in.resetValueID,PI_1ph_in.I.y) * Number of discrete variables: 11 ($whenCondition3,$whenCondition1,$whenCondition2,step.a,step.b,step.last,step.nextEvent,step.nextEventScaled,PI_1ph_in.switch_OnOff.u2,PI_1ph_in.time_lag_I_activation.entryTime,PI_1ph_in.I_activation.y) * Number of discrete states: 8 (step.nextEvent,step.last,step.nextEventScaled,step.b,step.a,$whenCondition2,PI_1ph_in.switch_OnOff.u2,PI_1ph_in.toPU.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003034/0.6773, allocations: 158.8 kB / 0.8685 GB, free: 5.25 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001787/0.6791, allocations: 0.8953 MB / 0.8694 GB, free: 4.332 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.6791, allocations: 0 / 0.8694 GB, free: 4.332 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.6795, allocations: 294.9 kB / 0.8696 GB, free: 4.031 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005773/0.6801, allocations: 60.27 kB / 0.8697 GB, free: 3.977 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001947/0.682, allocations: 1.186 MB / 0.8709 GB, free: 2.746 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005136/0.6826, allocations: 0.8587 MB / 0.8717 GB, free: 1.859 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002253/0.6828, allocations: 46.89 kB / 0.8717 GB, free: 1.816 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.792e-05/0.6829, allocations: 27.44 kB / 0.8718 GB, free: 1.789 MB / 0.573 GB Notification: Performance of SimCode: time 3e-07/0.6829, allocations: 0 / 0.8718 GB, free: 1.789 MB / 0.573 GB Notification: Performance of Templates: time 0.01041/0.6933, allocations: 4.347 MB / 0.876 GB, free: 13.52 MB / 0.5887 GB make -j1 -f ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.makefile (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.sim & ./ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP -abortSlowSimulation -alarm=480 -lv LOG_STATS > ClaRa_dev_ClaRa.Basics.ControlVolumes.SolidVolumes.Fundamentals.Blocks.Check.Check_TinyPIP.pipe 2>&1)