Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001372/0.001372, allocations: 191.8 kB / 16.25 MB, free: 6.629 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.535/1.535, allocations: 205.1 MB / 222.1 MB, free: 4.699 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.3322/0.3322, allocations: 37.98 MB / 307.4 MB, free: 10.11 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.001344/0.001344, allocations: 70.41 kB / 374.7 MB, free: 15.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.131, allocations: 56.47 MB / 431.2 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.004622/0.1357, allocations: 3.386 MB / 434.6 MB, free: 3.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.1385, allocations: 1.563 MB / 436.1 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003449/0.1389, allocations: 19.88 kB / 436.2 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004808/0.1394, allocations: 119.2 kB / 436.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004166/0.1399, allocations: 159 kB / 436.4 MB, free: 1.703 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.1409, allocations: 487.3 kB / 436.9 MB, free: 1.227 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009263/0.1419, allocations: 0.9276 MB / 437.8 MB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000365/0.1422, allocations: 230.4 kB / 438.1 MB, free: 60 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004243/0.1427, allocations: 362.4 kB / 438.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004361/0.1431, allocations: 406.1 kB / 438.8 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.575e-05/0.1432, allocations: 60 kB / 438.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.89e-05/0.1433, allocations: 71.94 kB / 438.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001953/0.1435, allocations: 199.3 kB / 439.1 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002688/0.1438, allocations: 349.8 kB / 439.5 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006451/0.1444, allocations: 0.7473 MB / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1445, allocations: 0 / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1445, allocations: 0 / 440.2 MB, free: 13.89 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.1445, allocations: 4 kB / 440.2 MB, free: 13.88 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.002233/0.1467, allocations: 1.16 MB / 441.4 MB, free: 12.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1468, allocations: 15.89 kB / 441.4 MB, free: 12.65 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.1469, allocations: 95.81 kB / 441.5 MB, free: 12.56 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008607/0.1478, allocations: 0.5623 MB / 442.1 MB, free: 11.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.1478, allocations: 41.36 kB / 442.1 MB, free: 11.91 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.942e-05/0.1479, allocations: 60.28 kB / 442.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001031/0.149, allocations: 0.6138 MB / 442.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.149, allocations: 3.938 kB / 442.8 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.506e-05/0.1491, allocations: 16 kB / 442.8 MB, free: 11.17 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.1491, allocations: 12 kB / 442.8 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.1501, allocations: 465.8 kB / 443.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003668/0.1538, allocations: 2.67 MB / 445.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.155, allocations: 0.5429 MB / 446.5 MB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005193/0.1555, allocations: 250.4 kB / 446.7 MB, free: 7.109 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.364e-05/0.1556, allocations: 8 kB / 446.7 MB, free: 7.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.1556, allocations: 38.59 kB / 446.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.985e-06/0.1556, allocations: 0 / 446.8 MB, free: 7.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002504/0.1581, allocations: 1.138 MB / 447.9 MB, free: 5.906 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.1582, allocations: 140.4 kB / 448 MB, free: 5.738 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008187/0.159, allocations: 0.6529 MB / 448.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/0.1591, allocations: 33.7 kB / 448.7 MB, free: 5.039 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002623/0.1594, allocations: 372 kB / 449.1 MB, free: 4.672 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001395/0.1595, allocations: 165.6 kB / 449.3 MB, free: 4.508 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001779/0.1597, allocations: 118.2 kB / 449.4 MB, free: 4.387 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002042/0.1599, allocations: 329.9 kB / 449.7 MB, free: 4.059 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005943/0.1605, allocations: 275.3 kB / 450 MB, free: 3.785 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007535/0.1613, allocations: 428.6 kB / 450.4 MB, free: 3.301 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001214/0.1625, allocations: 0.6701 MB / 451.1 MB, free: 2.57 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.1625, allocations: 4 kB / 451.1 MB, free: 2.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001565/0.1641, allocations: 0.7899 MB / 451.8 MB, free: 1.77 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.209e-05/0.1641, allocations: 8.531 kB / 451.9 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.1641, allocations: 8 kB / 451.9 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.1642, allocations: 8 kB / 451.9 MB, free: 1.746 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006678/0.1648, allocations: 151.8 kB / 452 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.1649, allocations: 7.938 kB / 452 MB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005618/0.1654, allocations: 87.47 kB / 452.1 MB, free: 1.504 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.1655, allocations: 24 kB / 452.1 MB, free: 1.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007376/0.1662, allocations: 409.2 kB / 452.5 MB, free: 1.078 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006507/0.1669, allocations: 420.3 kB / 452.9 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2346/0.4015, allocations: 0.6636 MB / 453.6 MB, free: 52.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.265e-06/0.4016, allocations: 0 / 453.6 MB, free: 52.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001718/0.4033, allocations: 0.7673 MB / 454.4 MB, free: 52.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.4033, allocations: 9.875 kB / 454.4 MB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.4033, allocations: 3.875 kB / 454.4 MB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.598e-06/0.4034, allocations: 9.375 kB / 454.4 MB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005875/0.4039, allocations: 143.8 kB / 454.5 MB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.404, allocations: 14.77 kB / 454.6 MB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.4045, allocations: 75.61 kB / 454.6 MB, free: 52.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.825e-05/0.4045, allocations: 23.5 kB / 454.6 MB, free: 52.72 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001983/0.4047, allocations: 220.2 kB / 454.9 MB, free: 52.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001266/0.4049, allocations: 79.03 kB / 454.9 MB, free: 52.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.4051, allocations: 89.64 kB / 455 MB, free: 52.53 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.4051, allocations: 14.06 kB / 455 MB, free: 52.53 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.616e-06/0.4051, allocations: 0 / 455 MB, free: 52.53 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.162e-05/0.4051, allocations: 6.422 kB / 455 MB, free: 52.53 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.4062, allocations: 0.8527 MB / 455.9 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.4062, allocations: 0 / 455.9 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005902/0.4068, allocations: 102.4 kB / 456 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.4068, allocations: 3.516 kB / 456 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.033e-05/0.4069, allocations: 12.47 kB / 456 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.4069, allocations: 6.75 kB / 456 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.4069, allocations: 0 / 456 MB, free: 52.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001641/0.4085, allocations: 1.139 MB / 457.2 MB, free: 51.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.4087, allocations: 200.2 kB / 457.4 MB, free: 51.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.428e-05/0.4088, allocations: 14.28 kB / 457.4 MB, free: 51.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005367/0.4093, allocations: 54.06 kB / 457.4 MB, free: 51.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001096/0.4095, allocations: 33.25 kB / 457.5 MB, free: 51.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.4095, allocations: 16.56 kB / 457.5 MB, free: 51.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005308/0.41, allocations: 461.6 kB / 457.9 MB, free: 51.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.41, allocations: 3.938 kB / 457.9 MB, free: 51.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007208/0.4108, allocations: 194.2 kB / 458.1 MB, free: 51.75 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 (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.0001232/0.4109, allocations: 111.7 kB / 458.2 MB, free: 51.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001846/0.4128, allocations: 0.9905 MB / 459.2 MB, free: 51.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.4128, allocations: 0 / 459.2 MB, free: 51.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005527/0.4133, allocations: 289.3 kB / 459.5 MB, free: 51.44 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.4144, allocations: 189.1 kB / 459.7 MB, free: 51.39 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002187/0.4166, allocations: 1.742 MB / 461.4 MB, free: 50.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.417, allocations: 0.9434 MB / 462.4 MB, free: 49.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004735/0.4174, allocations: 156.7 kB / 462.5 MB, free: 49.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001576/0.4176, allocations: 47 kB / 462.6 MB, free: 49.69 MB / 382.1 MB Notification: Performance of SimCode: time 8.01e-07/0.4176, allocations: 0 / 462.6 MB, free: 49.69 MB / 382.1 MB Notification: Performance of Templates: time 0.01073/0.4284, allocations: 7.203 MB / 469.8 MB, free: 49.27 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1)