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.001161/0.001161, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001089/0.001089, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 222.1 MB, free: 5.875 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.3888/0.3888, allocations: 38.03 MB / 308.4 MB, free: 10.28 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.0007865/0.0007868, allocations: 12 kB / 376.4 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1567, allocations: 57.53 MB / 433.9 MB, free: 5.574 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003996/0.1607, allocations: 2.847 MB / 436.8 MB, free: 2.707 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.1639, allocations: 1.49 MB / 438.3 MB, free: 1.207 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003906/0.1643, allocations: 19.88 kB / 438.3 MB, free: 1.188 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004561/0.1648, allocations: 103.2 kB / 438.4 MB, free: 1.086 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004208/0.1652, allocations: 187.4 kB / 438.6 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001041/0.1663, allocations: 407.3 kB / 439 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008469/0.1671, allocations: 0.6162 MB / 439.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003263/0.1675, allocations: 181.1 kB / 439.8 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004155/0.1679, allocations: 322.7 kB / 440.1 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.1683, allocations: 326.4 kB / 440.4 MB, free: 15.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.092e-05/0.1684, allocations: 27.94 kB / 440.4 MB, free: 15.04 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.1686, allocations: 115.8 kB / 440.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.1688, allocations: 143.4 kB / 440.7 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001124/0.1689, allocations: 133.3 kB / 440.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.1696, allocations: 0.6236 MB / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1696, allocations: 0 / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1696, allocations: 3.938 kB / 441.4 MB, free: 14.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.1696, allocations: 0 / 441.4 MB, free: 14.02 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.002295/0.1719, allocations: 1.075 MB / 442.5 MB, free: 12.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.172, allocations: 8.031 kB / 442.5 MB, free: 12.88 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001578/0.1721, allocations: 94.83 kB / 442.6 MB, free: 12.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.1732, allocations: 0.5382 MB / 443.1 MB, free: 12.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.1732, allocations: 37 kB / 443.2 MB, free: 12.17 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001029/0.1734, allocations: 59.89 kB / 443.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.1745, allocations: 0.6213 MB / 443.9 MB, free: 11.44 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.1746, allocations: 7.938 kB / 443.9 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.582e-05/0.1746, allocations: 20 kB / 443.9 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.453e-05/0.1747, allocations: 8 kB / 443.9 MB, free: 11.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1758, allocations: 497.8 kB / 444.4 MB, free: 10.91 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003558/0.1793, allocations: 2.686 MB / 447.1 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/0.1804, allocations: 0.5355 MB / 447.6 MB, free: 7.562 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.1804, allocations: 4.234 kB / 447.6 MB, free: 7.559 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.1805, allocations: 42.73 kB / 447.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.195e-06/0.1805, allocations: 0 / 447.6 MB, free: 7.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002675/0.1832, allocations: 1.212 MB / 448.9 MB, free: 6.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.1833, allocations: 140.5 kB / 449 MB, free: 6.117 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009306/0.1842, allocations: 0.6568 MB / 449.7 MB, free: 5.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.934e-05/0.1843, allocations: 37.7 kB / 449.7 MB, free: 5.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003036/0.1846, allocations: 360.7 kB / 450 MB, free: 5.055 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.1847, allocations: 177.4 kB / 450.2 MB, free: 4.879 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.1848, allocations: 16 kB / 450.2 MB, free: 4.863 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001399/0.1849, allocations: 326 kB / 450.5 MB, free: 4.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006436/0.1856, allocations: 305.1 kB / 450.8 MB, free: 4.242 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007453/0.1864, allocations: 460.8 kB / 451.3 MB, free: 3.727 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006928/0.1871, allocations: 339.7 kB / 451.6 MB, free: 3.395 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.1871, allocations: 4 kB / 451.6 MB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001675/0.1888, allocations: 0.8595 MB / 452.5 MB, free: 2.523 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008171/0.1896, allocations: 1.75 MB / 454.2 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.1896, allocations: 7.938 kB / 454.2 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/0.1896, allocations: 8 kB / 454.3 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009051/0.1906, allocations: 207.8 kB / 454.5 MB, free: 428 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.509e-05/0.1906, allocations: 7.984 kB / 454.5 MB, free: 420 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005625/0.1912, allocations: 91.62 kB / 454.6 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.075e-05/0.1912, allocations: 31.94 kB / 454.6 MB, free: 296 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.1912, allocations: 4 kB / 454.6 MB, free: 292 kB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.2659/0.4572, allocations: 0.7309 MB / 455.3 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.4572, allocations: 5.062 kB / 455.3 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4573, allocations: 9.531 kB / 455.3 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008503/0.4581, allocations: 207.5 kB / 455.5 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4581, allocations: 8.719 kB / 455.5 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006268/0.4588, allocations: 89.56 kB / 455.6 MB, free: 49.35 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.715e-05/0.4588, allocations: 23.34 kB / 455.7 MB, free: 49.35 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004096/0.4593, allocations: 287.6 kB / 455.9 MB, free: 49.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/0.4594, allocations: 79.38 kB / 456 MB, free: 49.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.4596, allocations: 94.75 kB / 456.1 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.4596, allocations: 3.625 kB / 456.1 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.346e-05/0.4596, allocations: 6.844 kB / 456.1 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.475e-06/0.4597, allocations: 3.328 kB / 456.1 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.4615, allocations: 1.276 MB / 457.4 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/0.4615, allocations: 3.406 kB / 457.4 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/0.4621, allocations: 125.6 kB / 457.5 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.101e-06/0.4622, allocations: 6.984 kB / 457.5 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.4622, allocations: 16.44 kB / 457.5 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.4622, allocations: 0 / 457.5 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.4622, allocations: 3.25 kB / 457.5 MB, free: 48.77 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001951/0.4642, allocations: 1.28 MB / 458.8 MB, free: 48.39 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002454/0.4644, allocations: 202.1 kB / 459 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.4645, allocations: 15.52 kB / 459 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005238/0.4651, allocations: 62.72 kB / 459.1 MB, free: 48.3 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.4652, allocations: 47.77 kB / 459.1 MB, free: 48.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.113e-05/0.4652, allocations: 13.69 kB / 459.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006346/0.4659, allocations: 461.6 kB / 459.6 MB, free: 48.2 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4659, allocations: 0 / 459.6 MB, free: 48.2 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009452/0.4669, allocations: 225.1 kB / 459.8 MB, free: 48.2 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 (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.0003352/0.4672, allocations: 142.2 kB / 460 MB, free: 48.11 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001975/0.4692, allocations: 1.045 MB / 461 MB, free: 48.07 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4692, allocations: 3.375 kB / 461 MB, free: 48.07 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005987/0.4698, allocations: 316.9 kB / 461.3 MB, free: 48.06 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008553/0.4707, allocations: 165.2 kB / 461.5 MB, free: 48.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/0.4729, allocations: 1.719 MB / 463.2 MB, free: 47.23 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.4732, allocations: 0.9764 MB / 464.2 MB, free: 46.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004595/0.4737, allocations: 143.1 kB / 464.3 MB, free: 46.51 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000154/0.4738, allocations: 50.64 kB / 464.4 MB, free: 46.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.553e-06/0.4739, allocations: 0 / 464.4 MB, free: 46.5 MB / 382.1 MB Notification: Performance of Templates: time 0.01139/0.4852, allocations: 7.42 MB / 471.8 MB, free: 46.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: