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.001558/0.001558, allocations: 108 kB / 15.61 MB, free: 152 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.002249/0.002249, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.694/1.694, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.4035/0.4035, allocations: 37.99 MB / 307.8 MB, free: 9.949 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.001807/0.001807, allocations: 76.45 kB / 375.2 MB, free: 15.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1287, allocations: 56.47 MB / 431.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.005822/0.1345, allocations: 3.394 MB / 435.1 MB, free: 3.207 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004078/0.1386, allocations: 1.571 MB / 436.7 MB, free: 1.625 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008461/0.1395, allocations: 27.88 kB / 436.7 MB, free: 1.598 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007472/0.1403, allocations: 142.7 kB / 436.8 MB, free: 1.457 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000867/0.1412, allocations: 190.6 kB / 437 MB, free: 1.27 MB / 366.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.001728/0.1429, allocations: 0.5264 MB / 437.5 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001632/0.1446, allocations: 0.955 MB / 438.5 MB, free: 15.79 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005057/0.1451, allocations: 234.4 kB / 438.7 MB, free: 15.54 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007057/0.1458, allocations: 366.5 kB / 439.1 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007247/0.1466, allocations: 410.1 kB / 439.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002213/0.1468, allocations: 64 kB / 439.6 MB, free: 14.72 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003702/0.1472, allocations: 171.7 kB / 439.7 MB, free: 14.55 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002864/0.1475, allocations: 199.3 kB / 439.9 MB, free: 14.36 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004168/0.1479, allocations: 345.8 kB / 440.3 MB, free: 14.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.1491, allocations: 0.8799 MB / 441.1 MB, free: 13.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1491, allocations: 7.938 kB / 441.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1491, allocations: 0 / 441.1 MB, free: 13.12 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.16e-05/0.1491, allocations: 0 / 441.1 MB, free: 13.12 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.00293/0.1521, allocations: 1.172 MB / 442.3 MB, free: 11.9 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.1521, allocations: 11.89 kB / 442.3 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.1523, allocations: 91.81 kB / 442.4 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00102/0.1534, allocations: 0.5663 MB / 443 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.008e-05/0.1534, allocations: 37.38 kB / 443 MB, free: 11.15 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.1535, allocations: 56.22 kB / 443.1 MB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.1547, allocations: 0.6177 MB / 443.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1547, allocations: 0 / 443.7 MB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.895e-05/0.1548, allocations: 16 kB / 443.7 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.1548, allocations: 12 kB / 443.7 MB, free: 10.4 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001114/0.1559, allocations: 465.8 kB / 444.2 MB, free: 9.945 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003808/0.1597, allocations: 2.651 MB / 446.8 MB, free: 7.191 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.1608, allocations: 0.5041 MB / 447.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00062/0.1614, allocations: 266.9 kB / 447.6 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.545e-05/0.1615, allocations: 4.234 kB / 447.6 MB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.352e-05/0.1615, allocations: 42.8 kB / 447.6 MB, free: 6.336 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.805e-06/0.1615, allocations: 0 / 447.6 MB, free: 6.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002746/0.1643, allocations: 1.152 MB / 448.8 MB, free: 5.176 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.548e-05/0.1644, allocations: 136.5 kB / 448.9 MB, free: 5.012 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009781/0.1654, allocations: 0.6529 MB / 449.6 MB, free: 4.352 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.75e-05/0.1654, allocations: 37.7 kB / 449.6 MB, free: 4.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002931/0.1657, allocations: 356.8 kB / 450 MB, free: 3.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001702/0.1659, allocations: 177.5 kB / 450.1 MB, free: 3.781 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002097/0.1661, allocations: 118.2 kB / 450.2 MB, free: 3.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1663, allocations: 337.9 kB / 450.6 MB, free: 3.324 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007119/0.167, allocations: 287.2 kB / 450.9 MB, free: 3.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008076/0.1678, allocations: 440.4 kB / 451.3 MB, free: 2.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001438/0.1693, allocations: 0.7152 MB / 452 MB, free: 1.766 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.1693, allocations: 0 / 452 MB, free: 1.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001732/0.171, allocations: 0.8276 MB / 452.8 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.1711, allocations: 8 kB / 452.8 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.1711, allocations: 4 kB / 452.8 MB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.577e-05/0.1711, allocations: 11.94 kB / 452.9 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/0.172, allocations: 196.2 kB / 453 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/0.1721, allocations: 11.98 kB / 453.1 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000584/0.1727, allocations: 87.5 kB / 453.1 MB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.551e-05/0.1727, allocations: 24 kB / 453.2 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007814/0.1735, allocations: 421.3 kB / 453.6 MB, free: 184 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.2548/0.4283, allocations: 422.4 kB / 454 MB, free: 52.74 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001381/0.4298, allocations: 0.7011 MB / 454.7 MB, free: 52.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.218e-06/0.4298, allocations: 0.7812 kB / 454.7 MB, free: 52.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization_lambda0): time 0.00152/0.4313, allocations: 0.8013 MB / 455.5 MB, free: 52.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.4314, allocations: 6.219 kB / 455.5 MB, free: 52.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.4314, allocations: 9.344 kB / 455.5 MB, free: 52.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/0.4314, allocations: 9.188 kB / 455.5 MB, free: 52.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008093/0.4322, allocations: 192.4 kB / 455.7 MB, free: 52.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.882e-05/0.4322, allocations: 7.812 kB / 455.7 MB, free: 52.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005795/0.4328, allocations: 81.34 kB / 455.8 MB, free: 52.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.218e-05/0.4329, allocations: 29.28 kB / 455.8 MB, free: 52.55 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.0002211/0.4331, allocations: 215.2 kB / 456 MB, free: 52.38 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.4333, allocations: 73 kB / 456.1 MB, free: 52.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.4335, allocations: 93.41 kB / 456.2 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-06/0.4335, allocations: 8.562 kB / 456.2 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.238e-06/0.4335, allocations: 0 / 456.2 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.584e-06/0.4335, allocations: 6.938 kB / 456.2 MB, free: 52.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001746/0.4353, allocations: 1.261 MB / 457.5 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.4353, allocations: 2.969 kB / 457.5 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006259/0.4359, allocations: 112.4 kB / 457.6 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.062e-06/0.436, allocations: 3.281 kB / 457.6 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-05/0.436, allocations: 17.72 kB / 457.6 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.436, allocations: 3.219 kB / 457.6 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.436, allocations: 3.125 kB / 457.6 MB, free: 51.98 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001994/0.438, allocations: 1.169 MB / 458.8 MB, free: 51.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.4383, allocations: 198.4 kB / 459 MB, free: 51.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.133e-05/0.4384, allocations: 17.91 kB / 459 MB, free: 51.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005478/0.4389, allocations: 47.64 kB / 459 MB, free: 51.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001354/0.4391, allocations: 39.77 kB / 459.1 MB, free: 51.42 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.281e-05/0.4391, allocations: 18.95 kB / 459.1 MB, free: 51.41 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007108/0.4398, allocations: 461.5 kB / 459.5 MB, free: 51.22 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.4398, allocations: 0 / 459.5 MB, free: 51.22 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009658/0.4408, allocations: 223.3 kB / 459.8 MB, free: 51.2 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.0003718/0.4412, allocations: 140.1 kB / 459.9 MB, free: 51.1 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002071/0.4433, allocations: 1.025 MB / 460.9 MB, free: 50.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.4433, allocations: 3.312 kB / 460.9 MB, free: 50.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005993/0.4439, allocations: 292.7 kB / 461.2 MB, free: 50.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/0.4449, allocations: 194.7 kB / 461.4 MB, free: 50.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002627/0.4476, allocations: 1.526 MB / 462.9 MB, free: 49.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.448, allocations: 0.952 MB / 463.9 MB, free: 49.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005338/0.4486, allocations: 150.6 kB / 464 MB, free: 49.22 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001646/0.4488, allocations: 43.91 kB / 464.1 MB, free: 49.21 MB / 382.1 MB Notification: Performance of SimCode: time 1.473e-06/0.4488, allocations: 0 / 464.1 MB, free: 49.21 MB / 382.1 MB Notification: Performance of Templates: time 0.01723/0.466, allocations: 8.391 MB / 472.5 MB, free: 48.7 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.makefile (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)