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.0007264/0.0007265, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004712/0.004712, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.334/1.334, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.3949/0.3949, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0005759/0.0005759, allocations: 12.38 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1308, allocations: 57.52 MB / 434.6 MB, free: 5.223 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004041/0.1349, allocations: 3.012 MB / 437.6 MB, free: 2.188 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003658/0.1386, allocations: 1.544 MB / 439.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006889/0.1393, allocations: 19.88 kB / 439.1 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006755/0.14, allocations: 111.2 kB / 439.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001103/0.1411, allocations: 166.9 kB / 439.4 MB, free: 348 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.1427, allocations: 487.3 kB / 439.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001298/0.144, allocations: 0.908 MB / 440.8 MB, free: 14.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003589/0.1444, allocations: 222.4 kB / 441 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003871/0.1448, allocations: 302.5 kB / 441.3 MB, free: 14.43 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.1452, allocations: 366.1 kB / 441.7 MB, free: 14.07 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.1453, allocations: 20 kB / 441.7 MB, free: 14.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002298/0.1455, allocations: 127.8 kB / 441.8 MB, free: 13.92 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1457, allocations: 159.3 kB / 442 MB, free: 13.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002431/0.146, allocations: 311.5 kB / 442.3 MB, free: 13.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.1467, allocations: 0.8173 MB / 443.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1467, allocations: 0 / 443.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.567e-06/0.1468, allocations: 0 / 443.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.032e-05/0.1468, allocations: 3.938 kB / 443.1 MB, free: 12.63 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.002165/0.1489, allocations: 1.071 MB / 444.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.149, allocations: 8.031 kB / 444.2 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.1492, allocations: 91.81 kB / 444.3 MB, free: 11.41 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008869/0.1501, allocations: 0.5662 MB / 444.8 MB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.439e-05/0.1501, allocations: 37.38 kB / 444.9 MB, free: 10.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.1502, allocations: 64.27 kB / 444.9 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1513, allocations: 0.6294 MB / 445.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.887e-05/0.1514, allocations: 0 / 445.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.047e-05/0.1514, allocations: 24 kB / 445.6 MB, free: 9.996 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.1514, allocations: 12 kB / 445.6 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.1525, allocations: 0.49 MB / 446.1 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003342/0.1559, allocations: 2.671 MB / 448.7 MB, free: 6.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.157, allocations: 0.5431 MB / 449.3 MB, free: 6.152 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005622/0.1575, allocations: 282.9 kB / 449.6 MB, free: 5.867 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.864e-05/0.1576, allocations: 12.23 kB / 449.6 MB, free: 5.855 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1576, allocations: 34.8 kB / 449.6 MB, free: 5.812 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 1.453e-06/0.1576, allocations: 4 kB / 449.6 MB, free: 5.809 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002552/0.1602, allocations: 1.223 MB / 450.8 MB, free: 4.574 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.512e-05/0.1603, allocations: 136.5 kB / 451 MB, free: 4.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009125/0.1612, allocations: 0.6569 MB / 451.6 MB, free: 3.746 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.312e-05/0.1613, allocations: 37.64 kB / 451.7 MB, free: 3.703 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.1615, allocations: 360.7 kB / 452 MB, free: 3.348 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.1617, allocations: 177.5 kB / 452.2 MB, free: 3.172 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.254e-05/0.1618, allocations: 65.62 kB / 452.3 MB, free: 3.102 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1619, allocations: 333.9 kB / 452.6 MB, free: 2.77 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006563/0.1626, allocations: 309.1 kB / 452.9 MB, free: 2.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007405/0.1634, allocations: 460.3 kB / 453.3 MB, free: 1.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.1647, allocations: 0.762 MB / 454.1 MB, free: 1.129 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1647, allocations: 0 / 454.1 MB, free: 1.129 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001628/0.1664, allocations: 0.8706 MB / 455 MB, free: 256 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.2368/0.4032, allocations: 217.2 kB / 455.2 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-05/0.4033, allocations: 4.75 kB / 455.2 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/0.4033, allocations: 9.531 kB / 455.2 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.4045, allocations: 209.9 kB / 455.4 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/0.4045, allocations: 13.45 kB / 455.4 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008267/0.4054, allocations: 93.38 kB / 455.5 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.942e-05/0.4054, allocations: 22.84 kB / 455.5 MB, free: 50.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.4055, allocations: 9.5 kB / 455.5 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001511/0.407, allocations: 0.7441 MB / 456.3 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.407, allocations: 9 kB / 456.3 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.871e-06/0.407, allocations: 6.562 kB / 456.3 MB, free: 50.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/0.4077, allocations: 202.5 kB / 456.5 MB, free: 50.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.669e-06/0.4078, allocations: 6.406 kB / 456.5 MB, free: 50.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004944/0.4083, allocations: 83.34 kB / 456.6 MB, free: 50.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.4083, allocations: 25.69 kB / 456.6 MB, free: 50.47 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.0003606/0.4087, allocations: 291.2 kB / 456.9 MB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001588/0.4088, allocations: 80.28 kB / 457 MB, free: 50.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002032/0.409, allocations: 92.31 kB / 457.1 MB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4091, allocations: 3.406 kB / 457.1 MB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.4091, allocations: 0 / 457.1 MB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.4091, allocations: 6.547 kB / 457.1 MB, free: 50.26 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/0.4109, allocations: 1.295 MB / 458.4 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4109, allocations: 0.75 kB / 458.4 MB, free: 49.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005806/0.4115, allocations: 118.9 kB / 458.5 MB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.231e-06/0.4115, allocations: 2.938 kB / 458.5 MB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.51e-05/0.4115, allocations: 15.58 kB / 458.5 MB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.4115, allocations: 2.656 kB / 458.5 MB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.4116, allocations: 2.844 kB / 458.5 MB, free: 49.86 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001781/0.4133, allocations: 1.241 MB / 459.7 MB, free: 49.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.4136, allocations: 203.6 kB / 459.9 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.24e-05/0.4137, allocations: 16 kB / 460 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005075/0.4142, allocations: 65.91 kB / 460 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.4143, allocations: 35.84 kB / 460.1 MB, free: 49.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.814e-05/0.4143, allocations: 20.64 kB / 460.1 MB, free: 49.45 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005673/0.4149, allocations: 462.3 kB / 460.5 MB, free: 49.36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4149, allocations: 3.094 kB / 460.5 MB, free: 49.36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008252/0.4157, allocations: 222.1 kB / 460.7 MB, free: 49.36 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.0003032/0.4161, allocations: 149.8 kB / 460.9 MB, free: 49.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.4184, allocations: 1.053 MB / 461.9 MB, free: 49.21 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.4184, allocations: 0 / 461.9 MB, free: 49.21 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006401/0.4191, allocations: 307.2 kB / 462.2 MB, free: 49.2 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.4202, allocations: 182.3 kB / 462.4 MB, free: 49.19 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002364/0.4226, allocations: 1.809 MB / 464.2 MB, free: 48.29 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003462/0.423, allocations: 0.9537 MB / 465.2 MB, free: 47.57 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004808/0.4235, allocations: 151.5 kB / 465.3 MB, free: 47.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.4236, allocations: 48.45 kB / 465.4 MB, free: 47.55 MB / 382.1 MB Notification: Performance of SimCode: time 7.91e-07/0.4236, allocations: 0 / 465.4 MB, free: 47.55 MB / 382.1 MB Notification: Performance of Templates: time 0.0126/0.4363, allocations: 7.688 MB / 473.1 MB, free: 47.09 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: