Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput") translateModel(ModelicaTest.Blocks.Continuous_InitialOutput,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001029/0.001029, allocations: 94.66 kB / 15.06 MB, free: 1.086 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.001128/0.001128, allocations: 168.7 kB / 15.95 MB, free: 204 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.806/1.806, allocations: 205.4 MB / 222.1 MB, free: 5.508 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.4307/0.4307, 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.0005975/0.0005976, allocations: 12 kB / 378.8 MB, free: 12.61 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1373/0.1379, allocations: 57.96 MB / 436.8 MB, free: 2.551 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004144/0.1422, allocations: 2.848 MB / 439.6 MB, free: 15.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003451/0.1456, allocations: 1.513 MB / 441.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.1463, allocations: 19.88 kB / 441.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006347/0.147, allocations: 111.2 kB / 441.3 MB, free: 14.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006767/0.1477, allocations: 155 kB / 441.4 MB, free: 13.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001248/0.149, allocations: 427.2 kB / 441.8 MB, free: 13.46 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001321/0.1503, allocations: 0.8261 MB / 442.7 MB, free: 12.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004781/0.1508, allocations: 189 kB / 442.9 MB, free: 12.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005954/0.1514, allocations: 306.5 kB / 443.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005572/0.152, allocations: 338.3 kB / 443.5 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001299/0.1521, allocations: 24 kB / 443.5 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.1524, allocations: 123.8 kB / 443.6 MB, free: 11.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00019/0.1526, allocations: 147.3 kB / 443.8 MB, free: 11.51 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001625/0.1527, allocations: 133.3 kB / 443.9 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006749/0.1534, allocations: 0.6236 MB / 444.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1534, allocations: 0 / 444.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1534, allocations: 0 / 444.5 MB, free: 10.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.452e-05/0.1535, allocations: 4 kB / 444.5 MB, free: 10.75 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.002532/0.156, allocations: 1.071 MB / 445.6 MB, free: 9.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.1561, allocations: 12.03 kB / 445.6 MB, free: 9.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002424/0.1563, allocations: 94.83 kB / 445.7 MB, free: 9.516 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009942/0.1573, allocations: 0.5383 MB / 446.2 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.639e-05/0.1574, allocations: 40.98 kB / 446.3 MB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001552/0.1576, allocations: 48 kB / 446.3 MB, free: 8.848 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.1587, allocations: 0.6329 MB / 447 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.1588, allocations: 0 / 447 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.864e-05/0.1588, allocations: 27.94 kB / 447 MB, free: 8.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.1588, allocations: 8 kB / 447 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001046/0.1599, allocations: 0.4939 MB / 447.5 MB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003671/0.1636, allocations: 2.683 MB / 450.2 MB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.1646, allocations: 0.5238 MB / 450.7 MB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000582/0.1652, allocations: 290.9 kB / 451 MB, free: 4 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.128e-05/0.1653, allocations: 4.234 kB / 451 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.1653, allocations: 38.8 kB / 451 MB, free: 3.949 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 5.721e-06/0.1653, allocations: 4 kB / 451 MB, free: 3.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002589/0.1679, allocations: 1.219 MB / 452.3 MB, free: 2.719 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.063e-05/0.168, allocations: 136.5 kB / 452.4 MB, free: 2.555 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009583/0.169, allocations: 0.6567 MB / 453 MB, free: 1.891 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.885e-05/0.169, allocations: 33.7 kB / 453.1 MB, free: 1.852 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002907/0.1693, allocations: 356.8 kB / 453.4 MB, free: 1.5 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/0.1695, allocations: 189.2 kB / 453.6 MB, free: 1.312 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.45e-05/0.1696, allocations: 12 kB / 453.6 MB, free: 1.301 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1697, allocations: 334 kB / 453.9 MB, free: 0.9688 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006115/0.1703, allocations: 297.1 kB / 454.2 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007174/0.1711, allocations: 457 kB / 454.7 MB, free: 172 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2587/0.4298, allocations: 341.7 kB / 455 MB, free: 47.95 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/0.4298, allocations: 0 / 455 MB, free: 47.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001643/0.4315, allocations: 0.8655 MB / 455.9 MB, free: 47.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.02e-05/0.4316, allocations: 220.5 kB / 456.1 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.4316, allocations: 5.188 kB / 456.1 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/0.4316, allocations: 8.656 kB / 456.1 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008076/0.4324, allocations: 209.7 kB / 456.3 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.486e-05/0.4324, allocations: 12.31 kB / 456.3 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004924/0.4329, allocations: 92.12 kB / 456.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.574e-05/0.433, allocations: 25.53 kB / 456.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.632e-06/0.433, allocations: 6.062 kB / 456.4 MB, free: 47.68 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001219/0.4342, allocations: 0.7366 MB / 457.2 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4343, allocations: 6 kB / 457.2 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.544e-06/0.4343, allocations: 8.531 kB / 457.2 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.435, allocations: 204.2 kB / 457.4 MB, free: 47.64 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.435, allocations: 11.31 kB / 457.4 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.4354, allocations: 87.61 kB / 457.5 MB, free: 47.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.953e-05/0.4355, allocations: 26.91 kB / 457.5 MB, free: 47.63 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.000312/0.4358, allocations: 285.9 kB / 457.8 MB, free: 47.44 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.436, allocations: 78.5 kB / 457.9 MB, free: 47.44 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001746/0.4361, allocations: 89.3 kB / 458 MB, free: 47.43 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4362, allocations: 5.531 kB / 458 MB, free: 47.43 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.53e-05/0.4362, allocations: 13.06 kB / 458 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.4362, allocations: 0 / 458 MB, free: 47.42 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/0.4378, allocations: 1.282 MB / 459.3 MB, free: 47.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.4378, allocations: 3.312 kB / 459.3 MB, free: 47.03 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005604/0.4384, allocations: 122.3 kB / 459.4 MB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.4384, allocations: 9.766 kB / 459.4 MB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.119e-05/0.4385, allocations: 17.91 kB / 459.4 MB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4385, allocations: 3.438 kB / 459.4 MB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.4385, allocations: 3.406 kB / 459.4 MB, free: 47.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4401, allocations: 1.238 MB / 460.7 MB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001715/0.4403, allocations: 200.2 kB / 460.9 MB, free: 46.57 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/0.4404, allocations: 20.58 kB / 460.9 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000452/0.4408, allocations: 59.75 kB / 460.9 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.4409, allocations: 42.94 kB / 461 MB, free: 46.56 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.441, allocations: 13.41 kB / 461 MB, free: 46.56 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00048/0.4415, allocations: 458.6 kB / 461.4 MB, free: 46.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4415, allocations: 0 / 461.4 MB, free: 46.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007935/0.4423, allocations: 219.5 kB / 461.6 MB, free: 46.46 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.0002628/0.4425, allocations: 138.5 kB / 461.8 MB, free: 46.37 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001929/0.4445, allocations: 1.049 MB / 462.8 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.4445, allocations: 0 / 462.8 MB, free: 46.32 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005252/0.445, allocations: 313.7 kB / 463.1 MB, free: 46.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009408/0.446, allocations: 179.5 kB / 463.3 MB, free: 46.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.448, allocations: 1.727 MB / 465 MB, free: 45.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.4483, allocations: 0.9519 MB / 466 MB, free: 44.73 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004399/0.4487, allocations: 150.4 kB / 466.1 MB, free: 44.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.4489, allocations: 45.06 kB / 466.2 MB, free: 44.71 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4489, allocations: 4 kB / 466.2 MB, free: 44.71 MB / 382.1 MB Notification: Performance of Templates: time 0.0121/0.461, allocations: 7.429 MB / 473.6 MB, free: 44.25 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.pipe 2>&1) Environment - environmentSimulation: