Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.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.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 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") translateModel(ModelicaTest.Blocks.Continuous,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009477/0.0009477, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001015/0.001015, allocations: 172.7 kB / 15.95 MB, free: 208 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.886/1.886, allocations: 205.4 MB / 222.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4149/0.4149, allocations: 40 MB / 310.4 MB, free: 10.05 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.2. 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.0006773/0.0006776, allocations: 20 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1619, allocations: 57.95 MB / 436.8 MB, free: 2.555 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.00437/0.1664, allocations: 2.812 MB / 439.6 MB, free: 15.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004963/0.1714, allocations: 1.509 MB / 441.1 MB, free: 14.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.1725, allocations: 23.88 kB / 441.1 MB, free: 14.18 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007625/0.1733, allocations: 111.1 kB / 441.2 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009568/0.1743, allocations: 155 kB / 441.4 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002083/0.1764, allocations: 419.3 kB / 441.8 MB, free: 13.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001564/0.1779, allocations: 0.795 MB / 442.6 MB, free: 12.71 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.1784, allocations: 189 kB / 442.8 MB, free: 12.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006112/0.179, allocations: 298.6 kB / 443.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005738/0.1796, allocations: 318.4 kB / 443.4 MB, free: 11.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001164/0.1797, allocations: 24 kB / 443.4 MB, free: 11.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001053/0.1799, allocations: 20 kB / 443.4 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.18, allocations: 155.3 kB / 443.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.1802, allocations: 133.3 kB / 443.7 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005392/0.1807, allocations: 0.5417 MB / 444.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/0.1807, allocations: 0 / 444.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1808, allocations: 0 / 444.2 MB, free: 11.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.1808, allocations: 0 / 444.2 MB, free: 11.03 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.002196/0.183, allocations: 1.059 MB / 445.3 MB, free: 9.918 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.962e-05/0.183, allocations: 8.031 kB / 445.3 MB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000166/0.1832, allocations: 98.83 kB / 445.4 MB, free: 9.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.1842, allocations: 0.5305 MB / 445.9 MB, free: 9.238 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.74e-05/0.1843, allocations: 44.94 kB / 446 MB, free: 9.195 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.96e-05/0.1844, allocations: 55.91 kB / 446 MB, free: 9.141 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001297/0.1857, allocations: 0.6329 MB / 446.7 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.1857, allocations: 4 kB / 446.7 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.281e-05/0.1858, allocations: 16 kB / 446.7 MB, free: 8.434 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.1858, allocations: 12 kB / 446.7 MB, free: 8.422 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/0.187, allocations: 0.4939 MB / 447.2 MB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004961/0.1919, allocations: 2.682 MB / 449.9 MB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001528/0.1935, allocations: 0.5895 MB / 450.5 MB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005417/0.194, allocations: 270.4 kB / 450.7 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.1941, allocations: 4 kB / 450.7 MB, free: 4.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.1941, allocations: 42.59 kB / 450.8 MB, free: 4.199 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.174e-06/0.1941, allocations: 4 kB / 450.8 MB, free: 4.195 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002577/0.1967, allocations: 1.198 MB / 452 MB, free: 2.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.529e-05/0.1968, allocations: 144.5 kB / 452.1 MB, free: 2.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008411/0.1977, allocations: 0.6528 MB / 452.8 MB, free: 2.152 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.794e-05/0.1977, allocations: 33.7 kB / 452.8 MB, free: 2.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002607/0.198, allocations: 364 kB / 453.2 MB, free: 1.754 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001619/0.1982, allocations: 173.5 kB / 453.3 MB, free: 1.582 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1982, allocations: 8 kB / 453.3 MB, free: 1.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.1983, allocations: 338 kB / 453.7 MB, free: 1.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006487/0.199, allocations: 281.1 kB / 453.9 MB, free: 0.9648 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007368/0.1997, allocations: 449.2 kB / 454.4 MB, free: 472 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007358/0.2005, allocations: 333.2 kB / 454.7 MB, free: 140 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2005, allocations: 0 / 454.7 MB, free: 140 kB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.289/0.4895, allocations: 0.833 MB / 455.5 MB, free: 48.1 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001202/0.4897, allocations: 221.6 kB / 455.8 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.4897, allocations: 4.375 kB / 455.8 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/0.4897, allocations: 9.031 kB / 455.8 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006524/0.4904, allocations: 162.1 kB / 455.9 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.59e-05/0.4904, allocations: 8.906 kB / 455.9 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005568/0.491, allocations: 95.3 kB / 456 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.673e-05/0.491, allocations: 22.44 kB / 456.1 MB, free: 47.86 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.275e-06/0.491, allocations: 5.5 kB / 456.1 MB, free: 47.86 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001271/0.4923, allocations: 0.7172 MB / 456.8 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4923, allocations: 5.812 kB / 456.8 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.4924, allocations: 7.719 kB / 456.8 MB, free: 47.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005327/0.4929, allocations: 149.6 kB / 456.9 MB, free: 47.83 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.388e-05/0.4929, allocations: 19.94 kB / 457 MB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004601/0.4934, allocations: 80.75 kB / 457 MB, free: 47.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.454e-05/0.4934, allocations: 20.88 kB / 457.1 MB, free: 47.82 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 (77): * Single equations (assignments): 77 * 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.0003705/0.4938, allocations: 299.6 kB / 457.3 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000142/0.4939, allocations: 73.69 kB / 457.4 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.4941, allocations: 87.19 kB / 457.5 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-06/0.4942, allocations: 6.5 kB / 457.5 MB, free: 47.62 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.4942, allocations: 6.797 kB / 457.5 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.4942, allocations: 3.422 kB / 457.5 MB, free: 47.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/0.4954, allocations: 0.8551 MB / 458.4 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.4955, allocations: 7.297 kB / 458.4 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005885/0.4961, allocations: 115.4 kB / 458.5 MB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.4961, allocations: 3 kB / 458.5 MB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.349e-05/0.4961, allocations: 23.69 kB / 458.5 MB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4961, allocations: 0.5625 kB / 458.5 MB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.4961, allocations: 5.016 kB / 458.5 MB, free: 47.31 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001863/0.498, allocations: 1.202 MB / 459.7 MB, free: 47.01 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000258/0.4983, allocations: 195.5 kB / 459.9 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/0.4984, allocations: 19.86 kB / 459.9 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004882/0.4989, allocations: 65.84 kB / 460 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/0.4991, allocations: 37.95 kB / 460 MB, free: 46.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.606e-05/0.4991, allocations: 16.5 kB / 460.1 MB, free: 46.89 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006701/0.4998, allocations: 460.8 kB / 460.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4998, allocations: 0 / 460.5 MB, free: 46.79 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009258/0.5007, allocations: 197.6 kB / 460.7 MB, free: 46.79 MB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.0001754/0.5009, allocations: 115.5 kB / 460.8 MB, free: 46.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002128/0.503, allocations: 1.01 MB / 461.8 MB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.5031, allocations: 192 / 461.8 MB, free: 46.64 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007328/0.5038, allocations: 310.8 kB / 462.1 MB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.505, allocations: 171.9 kB / 462.3 MB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.5076, allocations: 1.712 MB / 464 MB, free: 45.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004125/0.508, allocations: 0.9489 MB / 465 MB, free: 45.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005412/0.5086, allocations: 149.9 kB / 465.1 MB, free: 45.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.5087, allocations: 46.27 kB / 465.1 MB, free: 45.07 MB / 382.1 MB Notification: Performance of SimCode: time 6.31e-07/0.5087, allocations: 0 / 465.1 MB, free: 45.07 MB / 382.1 MB Notification: Performance of Templates: time 0.01276/0.5215, allocations: 6.578 MB / 471.7 MB, free: 44.65 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous.pipe 2>&1) Environment - environmentSimulation: