Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001093/0.001093, allocations: 103.4 kB / 15.33 MB, free: 0.5078 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 194.3 kB / 16.25 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.1 MB / 222.1 MB, free: 4.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3094/0.3094, allocations: 37.98 MB / 307.4 MB, free: 10.21 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 70.41 kB / 374.7 MB, free: 15.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1273/0.1288, allocations: 56.46 MB / 431.2 MB, free: 6.969 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004872/0.1337, allocations: 3.421 MB / 434.6 MB, free: 3.523 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003253/0.137, allocations: 1.559 MB / 436.2 MB, free: 1.953 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.1375, allocations: 23.88 kB / 436.2 MB, free: 1.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005268/0.1381, allocations: 107.2 kB / 436.3 MB, free: 1.824 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004457/0.1385, allocations: 167 kB / 436.5 MB, free: 1.66 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0012/0.1397, allocations: 491.3 kB / 436.9 MB, free: 1.18 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000911/0.1407, allocations: 0.9588 MB / 437.9 MB, free: 224 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003824/0.1411, allocations: 230.4 kB / 438.1 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004204/0.1415, allocations: 382.3 kB / 438.5 MB, free: 15.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004355/0.1419, allocations: 410.1 kB / 438.9 MB, free: 15.2 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.223e-05/0.142, allocations: 64 kB / 439 MB, free: 15.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002469/0.1423, allocations: 171.8 kB / 439.1 MB, free: 14.97 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002084/0.1425, allocations: 207.2 kB / 439.3 MB, free: 14.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003049/0.1428, allocations: 341.8 kB / 439.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008278/0.1437, allocations: 0.8721 MB / 440.5 MB, free: 13.56 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1437, allocations: 4 kB / 440.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1437, allocations: 4 kB / 440.5 MB, free: 13.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.976e-06/0.1437, allocations: 0 / 440.5 MB, free: 13.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.00213/0.1458, allocations: 1.176 MB / 441.7 MB, free: 12.32 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1459, allocations: 15.89 kB / 441.7 MB, free: 12.3 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001492/0.146, allocations: 91.81 kB / 441.8 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008594/0.1469, allocations: 0.5584 MB / 442.4 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.467e-05/0.147, allocations: 37.38 kB / 442.4 MB, free: 11.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000103/0.1471, allocations: 60.28 kB / 442.5 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001055/0.1481, allocations: 0.6137 MB / 443.1 MB, free: 10.86 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.1482, allocations: 4 kB / 443.1 MB, free: 10.85 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.819e-05/0.1482, allocations: 23.94 kB / 443.1 MB, free: 10.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/0.1482, allocations: 12 kB / 443.1 MB, free: 10.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009611/0.1492, allocations: 465.8 kB / 443.6 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003652/0.1529, allocations: 2.655 MB / 446.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001337/0.1542, allocations: 0.5041 MB / 446.7 MB, free: 7.074 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007453/0.155, allocations: 258.9 kB / 447 MB, free: 6.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.11e-05/0.155, allocations: 8.234 kB / 447 MB, free: 6.805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.238e-05/0.1551, allocations: 38.8 kB / 447 MB, free: 6.758 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.554e-06/0.1551, allocations: 0 / 447 MB, free: 6.758 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.003185/0.1583, allocations: 1.153 MB / 448.2 MB, free: 5.594 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.755e-05/0.1584, allocations: 136.5 kB / 448.3 MB, free: 5.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.1595, allocations: 0.6568 MB / 449 MB, free: 4.766 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.683e-05/0.1595, allocations: 37.7 kB / 449 MB, free: 4.723 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.16, allocations: 356.8 kB / 449.4 MB, free: 4.371 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002014/0.1602, allocations: 173.5 kB / 449.5 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000242/0.1604, allocations: 118.2 kB / 449.7 MB, free: 4.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1606, allocations: 341.9 kB / 450 MB, free: 3.738 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00088/0.1615, allocations: 283.2 kB / 450.3 MB, free: 3.457 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009181/0.1624, allocations: 440.4 kB / 450.7 MB, free: 2.961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.1642, allocations: 0.7152 MB / 451.4 MB, free: 2.184 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.509e-06/0.1642, allocations: 3.938 kB / 451.4 MB, free: 2.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002205/0.1664, allocations: 0.8159 MB / 452.2 MB, free: 1.355 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.1664, allocations: 8 kB / 452.2 MB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/0.1664, allocations: 4 kB / 452.2 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.1665, allocations: 8 kB / 452.2 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.1677, allocations: 208.2 kB / 452.5 MB, free: 1.133 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.437e-05/0.1677, allocations: 11.98 kB / 452.5 MB, free: 1.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000696/0.1684, allocations: 83.55 kB / 452.5 MB, free: 1.039 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.292e-05/0.1685, allocations: 24 kB / 452.6 MB, free: 1.016 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009914/0.1695, allocations: 425.3 kB / 453 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008683/0.1704, allocations: 424.3 kB / 453.4 MB, free: 120 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.198/0.3684, allocations: 0.6971 MB / 454.1 MB, free: 52.69 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.701e-06/0.3685, allocations: 0 / 454.1 MB, free: 52.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001522/0.37, allocations: 0.8036 MB / 454.9 MB, free: 52.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.37, allocations: 6.156 kB / 454.9 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.37, allocations: 3.344 kB / 454.9 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.37, allocations: 9.688 kB / 454.9 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007782/0.3708, allocations: 193.2 kB / 455.1 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.3709, allocations: 16.59 kB / 455.1 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004972/0.3714, allocations: 75.19 kB / 455.2 MB, free: 52.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.3714, allocations: 22.16 kB / 455.2 MB, free: 52.66 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000182/0.3716, allocations: 230.2 kB / 455.4 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.3717, allocations: 76.16 kB / 455.5 MB, free: 52.48 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002075/0.3719, allocations: 91.31 kB / 455.6 MB, free: 52.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.372, allocations: 4.406 kB / 455.6 MB, free: 52.47 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.372, allocations: 3.438 kB / 455.6 MB, free: 52.47 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.372, allocations: 0 / 455.6 MB, free: 52.47 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.3736, allocations: 1.266 MB / 456.9 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3736, allocations: 7.125 kB / 456.9 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005809/0.3742, allocations: 106.5 kB / 457 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.3742, allocations: 3.406 kB / 457 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.312e-05/0.3743, allocations: 18.09 kB / 457 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.999e-06/0.3743, allocations: 10.05 kB / 457 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.3743, allocations: 1.469 kB / 457 MB, free: 52.09 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.3759, allocations: 1.158 MB / 458.2 MB, free: 51.74 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.3761, allocations: 201.1 kB / 458.4 MB, free: 51.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.354e-05/0.3762, allocations: 14.19 kB / 458.4 MB, free: 51.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000492/0.3767, allocations: 51.17 kB / 458.4 MB, free: 51.6 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.3768, allocations: 45.27 kB / 458.5 MB, free: 51.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.3768, allocations: 6.625 kB / 458.5 MB, free: 51.59 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005424/0.3774, allocations: 465.7 kB / 458.9 MB, free: 51.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3774, allocations: 0 / 458.9 MB, free: 51.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008285/0.3782, allocations: 223.2 kB / 459.2 MB, free: 51.38 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002878/0.3785, allocations: 146.9 kB / 459.3 MB, free: 51.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.3805, allocations: 1.024 MB / 460.3 MB, free: 51.05 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.3805, allocations: 0 / 460.3 MB, free: 51.05 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.381, allocations: 291.6 kB / 460.6 MB, free: 50.97 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.382, allocations: 196.3 kB / 460.8 MB, free: 50.92 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002247/0.3843, allocations: 1.753 MB / 462.6 MB, free: 49.92 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003364/0.3846, allocations: 0.953 MB / 463.5 MB, free: 49.2 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004763/0.3851, allocations: 149.2 kB / 463.7 MB, free: 49.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3853, allocations: 45.31 kB / 463.7 MB, free: 49.18 MB / 382.1 MB Notification: Performance of SimCode: time 6.91e-07/0.3853, allocations: 0 / 463.7 MB, free: 49.18 MB / 382.1 MB Notification: Performance of Templates: time 0.01489/0.4002, allocations: 8.137 MB / 471.8 MB, free: 48.69 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1)