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.001546/0.001546, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.658/1.658, allocations: 205.1 MB / 222.4 MB, free: 4.582 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.3588/0.3588, allocations: 39.95 MB / 309.7 MB, free: 9.219 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.001934/0.001935, allocations: 78.39 kB / 377.6 MB, free: 12.67 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1376, allocations: 56.88 MB / 434.5 MB, free: 3.688 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005762/0.1434, allocations: 3.379 MB / 437.9 MB, free: 292 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004363/0.1479, allocations: 1.594 MB / 439.5 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005204/0.1484, allocations: 23.88 kB / 439.5 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005808/0.149, allocations: 146.6 kB / 439.6 MB, free: 14.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004835/0.1495, allocations: 190.5 kB / 439.8 MB, free: 14.33 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1555:3-1615:27:writable] Warning: Pure function 'Modelica.Math.Matrices.equalityLeastSquares' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgglse_vec'. Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.1508, allocations: 0.5264 MB / 440.3 MB, free: 13.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.1519, allocations: 0.955 MB / 441.3 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004939/0.1524, allocations: 230.4 kB / 441.5 MB, free: 12.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006291/0.1531, allocations: 370.5 kB / 441.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00056/0.1536, allocations: 410.1 kB / 442.3 MB, free: 11.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001085/0.1538, allocations: 64 kB / 442.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002937/0.1541, allocations: 175.7 kB / 442.5 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002306/0.1543, allocations: 199.3 kB / 442.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.1546, allocations: 341.8 kB / 443 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1556, allocations: 0.876 MB / 443.9 MB, free: 10.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.864e-06/0.1556, allocations: 4 kB / 443.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1557, allocations: 0 / 443.9 MB, free: 10.19 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.1557, allocations: 0 / 443.9 MB, free: 10.19 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.00254/0.1582, allocations: 1.179 MB / 445.1 MB, free: 8.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/0.1583, allocations: 11.89 kB / 445.1 MB, free: 8.945 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001565/0.1584, allocations: 91.91 kB / 445.2 MB, free: 8.855 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008871/0.1593, allocations: 0.5662 MB / 445.8 MB, free: 8.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.278e-05/0.1594, allocations: 37.38 kB / 445.8 MB, free: 8.211 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.1595, allocations: 64.03 kB / 445.9 MB, free: 8.148 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.1606, allocations: 0.6095 MB / 446.5 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.1607, allocations: 0 / 446.5 MB, free: 7.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.307e-05/0.1607, allocations: 20 kB / 446.5 MB, free: 7.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1608, allocations: 12 kB / 446.5 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.1618, allocations: 465.8 kB / 447 MB, free: 7.004 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003659/0.1655, allocations: 2.647 MB / 449.6 MB, free: 4.254 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.1666, allocations: 0.5156 MB / 450.1 MB, free: 3.711 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005801/0.1671, allocations: 258.9 kB / 450.4 MB, free: 3.449 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.8e-05/0.1672, allocations: 8.234 kB / 450.4 MB, free: 3.441 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.111e-05/0.1672, allocations: 42.78 kB / 450.4 MB, free: 3.391 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.795e-06/0.1672, allocations: 0 / 450.4 MB, free: 3.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002703/0.17, allocations: 1.138 MB / 451.6 MB, free: 2.242 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.951e-05/0.17, allocations: 136.5 kB / 451.7 MB, free: 2.078 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008266/0.1709, allocations: 0.6528 MB / 452.4 MB, free: 1.418 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.1709, allocations: 37.7 kB / 452.4 MB, free: 1.375 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.1712, allocations: 364.7 kB / 452.7 MB, free: 1.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001434/0.1714, allocations: 177.4 kB / 452.9 MB, free: 0.8398 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001898/0.1716, allocations: 126.2 kB / 453 MB, free: 0.7109 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001226/0.1717, allocations: 333.8 kB / 453.4 MB, free: 388 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006346/0.1723, allocations: 287.3 kB / 453.6 MB, free: 96 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2384/0.4107, allocations: 447 kB / 454.1 MB, free: 51.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001318/0.4121, allocations: 0.7036 MB / 454.8 MB, free: 51.11 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.4121, allocations: 3.625 kB / 454.8 MB, free: 51.11 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001685/0.4138, allocations: 0.8274 MB / 455.6 MB, free: 51.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/0.4138, allocations: 5.531 kB / 455.6 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.4139, allocations: 5.688 kB / 455.6 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/0.4139, allocations: 5.719 kB / 455.6 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008698/0.4148, allocations: 201.6 kB / 455.8 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.798e-05/0.4148, allocations: 15.89 kB / 455.9 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006059/0.4154, allocations: 80.92 kB / 455.9 MB, free: 51.06 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.856e-05/0.4155, allocations: 25.81 kB / 456 MB, free: 51.06 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007601/0.4162, allocations: 422.7 kB / 456.4 MB, free: 50.98 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00059/0.4168, allocations: 425.9 kB / 456.8 MB, free: 50.81 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001095/0.4179, allocations: 0.6956 MB / 457.5 MB, free: 50.65 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.418, allocations: 0 / 457.5 MB, free: 50.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.001394/0.4194, allocations: 0.8022 MB / 458.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.127e-05/0.4194, allocations: 10.06 kB / 458.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4194, allocations: 3.375 kB / 458.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.816e-06/0.4194, allocations: 10.53 kB / 458.3 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007444/0.4202, allocations: 186.9 kB / 458.5 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.4202, allocations: 16.42 kB / 458.5 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.4207, allocations: 77.06 kB / 458.6 MB, free: 50.6 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.4207, allocations: 26.41 kB / 458.6 MB, free: 50.6 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.0001527/0.4209, allocations: 216.1 kB / 458.8 MB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001546/0.421, allocations: 74.38 kB / 458.9 MB, free: 50.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.4212, allocations: 91.11 kB / 459 MB, free: 50.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.4212, allocations: 13.69 kB / 459 MB, free: 50.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.4212, allocations: 2.062 kB / 459 MB, free: 50.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.4213, allocations: 9.812 kB / 459 MB, free: 50.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.423, allocations: 1.259 MB / 460.3 MB, free: 49.68 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.423, allocations: 7.25 kB / 460.3 MB, free: 49.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006104/0.4236, allocations: 100.3 kB / 460.4 MB, free: 49.67 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.316e-06/0.4237, allocations: 6.781 kB / 460.4 MB, free: 49.67 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/0.4237, allocations: 16.89 kB / 460.4 MB, free: 49.66 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4237, allocations: 5.875 kB / 460.4 MB, free: 49.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.4237, allocations: 3.219 kB / 460.4 MB, free: 49.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.4256, allocations: 1.162 MB / 461.6 MB, free: 49.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.4258, allocations: 202.1 kB / 461.8 MB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.971e-05/0.4259, allocations: 17.92 kB / 461.8 MB, free: 48.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005243/0.4264, allocations: 50.66 kB / 461.8 MB, free: 48.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001254/0.4266, allocations: 38.3 kB / 461.9 MB, free: 48.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.4266, allocations: 16.59 kB / 461.9 MB, free: 48.94 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005821/0.4272, allocations: 465.2 kB / 462.3 MB, free: 48.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4272, allocations: 0 / 462.3 MB, free: 48.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008775/0.4281, allocations: 225 kB / 462.6 MB, free: 48.72 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.0002881/0.4284, allocations: 138.2 kB / 462.7 MB, free: 48.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002067/0.4304, allocations: 1.031 MB / 463.7 MB, free: 48.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4305, allocations: 4.062 kB / 463.7 MB, free: 48.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005619/0.431, allocations: 290.2 kB / 464 MB, free: 48.27 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.4321, allocations: 203.1 kB / 464.2 MB, free: 48.21 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002412/0.4345, allocations: 1.519 MB / 465.7 MB, free: 47.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.4349, allocations: 0.9509 MB / 466.7 MB, free: 46.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005139/0.4355, allocations: 153.7 kB / 466.8 MB, free: 46.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.4356, allocations: 44.31 kB / 466.9 MB, free: 46.68 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4356, allocations: 0 / 466.9 MB, free: 46.68 MB / 382.1 MB Notification: Performance of Templates: time 0.01327/0.4489, allocations: 8.393 MB / 475.3 MB, free: 46.16 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (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)