Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001006/0.001006, allocations: 182 kB / 12.74 MB, free: 2.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.361/1.361, allocations: 194.3 MB / 207.5 MB, free: 3.465 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.0016/0.001599, allocations: 122.3 kB / 252.6 MB, free: 4.832 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1928/0.1928, allocations: 39.94 MB / 337.5 MB, free: 484 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.207e-05/3.231e-05, allocations: 4 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/0.1012, allocations: 54.86 MB / 455.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4546/0.5558, allocations: 89.97 MB / 0.5323 GB, free: 1.758 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5561, allocations: 69.59 kB / 0.5324 GB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0753/0.6314, allocations: 26.26 MB / 0.558 GB, free: 11.47 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6315, allocations: 0 / 0.558 GB, free: 11.47 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.518e-05/0.6316, allocations: 20 kB / 0.5581 GB, free: 11.45 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001811/0.6334, allocations: 0.897 MB / 0.5589 GB, free: 10.55 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.93e-05/0.6334, allocations: 8.031 kB / 0.5589 GB, free: 10.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.6336, allocations: 83.06 kB / 0.559 GB, free: 10.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001012/0.6346, allocations: 0.5239 MB / 0.5595 GB, free: 9.953 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.669e-05/0.6347, allocations: 31.16 kB / 0.5596 GB, free: 9.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.6348, allocations: 52.47 kB / 0.5596 GB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008189/0.6356, allocations: 478.8 kB / 0.5601 GB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.994e-05/0.6356, allocations: 1.125 kB / 0.5601 GB, free: 9.539 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-05/0.6357, allocations: 18.12 kB / 0.5601 GB, free: 9.535 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.492e-05/0.6357, allocations: 12 kB / 0.5601 GB, free: 9.523 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006106/0.6363, allocations: 339.5 kB / 0.5604 GB, free: 9.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/0.6397, allocations: 1.97 MB / 0.5623 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008633/0.6406, allocations: 475.1 kB / 0.5628 GB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.6409, allocations: 192.6 kB / 0.563 GB, free: 7.125 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.6409, allocations: 4 kB / 0.563 GB, free: 7.121 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.641, allocations: 46.39 kB / 0.563 GB, free: 7.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 2.004e-06/0.641, allocations: 3.938 kB / 0.563 GB, free: 7.066 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.00137/0.6424, allocations: 0.7567 MB / 0.5638 GB, free: 6.418 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.811e-05/0.6425, allocations: 140.5 kB / 0.5639 GB, free: 6.25 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005667/0.643, allocations: 0.4975 MB / 0.5644 GB, free: 5.852 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.297e-05/0.6431, allocations: 32.45 kB / 0.5644 GB, free: 5.82 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.6433, allocations: 330.4 kB / 0.5647 GB, free: 5.621 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.6435, allocations: 159.1 kB / 0.5649 GB, free: 5.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/0.6435, allocations: 14.69 kB / 0.5649 GB, free: 5.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.6437, allocations: 378.6 kB / 0.5653 GB, free: 5.129 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000383/0.6441, allocations: 194.4 kB / 0.5655 GB, free: 5.008 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.6445, allocations: 310 kB / 0.5657 GB, free: 4.746 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.6449, allocations: 230.3 kB / 0.566 GB, free: 4.594 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6449, allocations: 0 / 0.566 GB, free: 4.594 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.000915/0.6458, allocations: 0.6132 MB / 0.5666 GB, free: 4.125 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004966/0.6463, allocations: 1.059 MB / 0.5676 GB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.6464, allocations: 3.938 kB / 0.5676 GB, free: 3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.6464, allocations: 8 kB / 0.5676 GB, free: 2.992 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006444/0.647, allocations: 146.9 kB / 0.5678 GB, free: 2.852 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/0.6471, allocations: 8 kB / 0.5678 GB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005134/0.6476, allocations: 92.66 kB / 0.5678 GB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.6476, allocations: 19.44 kB / 0.5679 GB, free: 2.746 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.014e-05/0.6476, allocations: 4 kB / 0.5679 GB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000861/0.6485, allocations: 0.5189 MB / 0.5684 GB, free: 2.379 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6485, allocations: 4 kB / 0.5684 GB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.306e-06/0.6485, allocations: 4 kB / 0.5684 GB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005944/0.6491, allocations: 146.4 kB / 0.5685 GB, free: 2.234 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.148e-06/0.6492, allocations: 7.938 kB / 0.5685 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004829/0.6497, allocations: 82.22 kB / 0.5686 GB, free: 2.152 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.29e-05/0.6497, allocations: 26.08 kB / 0.5686 GB, free: 2.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/0.6499, allocations: 132.7 kB / 0.5688 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001576/0.65, allocations: 71.16 kB / 0.5688 GB, free: 1.941 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.6502, allocations: 79.05 kB / 0.5689 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.6503, allocations: 12.03 kB / 0.5689 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.6503, allocations: 0 / 0.5689 GB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.6503, allocations: 3.984 kB / 0.5689 GB, free: 1.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001146/0.6514, allocations: 0.7854 MB / 0.5697 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.6515, allocations: 0 / 0.5697 GB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006653/0.6521, allocations: 123.3 kB / 0.5698 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.6521, allocations: 0 / 0.5698 GB, free: 1.098 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.847e-05/0.6522, allocations: 18.67 kB / 0.5698 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6522, allocations: 0 / 0.5698 GB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.6522, allocations: 3.953 kB / 0.5698 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001221/0.6534, allocations: 0.9654 MB / 0.5708 GB, free: 300 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002304/0.6537, allocations: 191.9 kB / 0.571 GB, free: 112 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.041e-05/0.6538, allocations: 21.62 kB / 0.571 GB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.6543, allocations: 67.94 kB / 0.571 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/0.6545, allocations: 35.39 kB / 0.5711 GB, free: 4 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.748e-05/0.6545, allocations: 20.36 kB / 0.5711 GB, free: 15.99 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004117/0.6549, allocations: 391.4 kB / 0.5715 GB, free: 15.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.694e-06/0.6549, allocations: 4 kB / 0.5715 GB, free: 15.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006717/0.6556, allocations: 195.8 kB / 0.5717 GB, free: 15.52 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.0001862/0.6558, allocations: 118.5 kB / 0.5718 GB, free: 15.4 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.657, allocations: 0.761 MB / 0.5725 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.657, allocations: 0 / 0.5725 GB, free: 14.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003259/0.6574, allocations: 217.7 kB / 0.5727 GB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.6582, allocations: 156.2 kB / 0.5729 GB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.6602, allocations: 1.156 MB / 0.574 GB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.6608, allocations: 0.9464 MB / 0.5749 GB, free: 12.57 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006495/0.6614, allocations: 190.7 kB / 0.5751 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.6616, allocations: 43.42 kB / 0.5751 GB, free: 12.34 MB / 394.7 MB Notification: Performance of SimCode: time 3.6e-07/0.6616, allocations: 0 / 0.5751 GB, free: 12.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01331/0.6749, allocations: 7.627 MB / 0.5826 GB, free: 4.746 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)