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.0008427/0.0008426, allocations: 91.38 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.005241/0.005241, allocations: 172.4 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.391/1.391, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.2984/0.2984, allocations: 40 MB / 310.7 MB, free: 9.918 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.0006019/0.0006019, allocations: 16 kB / 379.4 MB, free: 12.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1236, allocations: 57.96 MB / 437.4 MB, free: 2.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.004313/0.128, allocations: 3.001 MB / 440.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.1313, allocations: 1.567 MB / 442 MB, free: 13.6 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006553/0.132, allocations: 19.88 kB / 442 MB, free: 13.58 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.1327, allocations: 107.2 kB / 442.1 MB, free: 13.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007459/0.1334, allocations: 163 kB / 442.3 MB, free: 13.32 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001397/0.1348, allocations: 487.3 kB / 442.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.1362, allocations: 0.9041 MB / 443.6 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005339/0.1367, allocations: 226.4 kB / 443.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006735/0.1374, allocations: 302.4 kB / 444.2 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006848/0.1381, allocations: 354.1 kB / 444.5 MB, free: 11.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.1383, allocations: 24 kB / 444.5 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003756/0.1387, allocations: 143.7 kB / 444.7 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000248/0.139, allocations: 147.3 kB / 444.8 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004311/0.1394, allocations: 319.5 kB / 445.1 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009886/0.1404, allocations: 0.8094 MB / 445.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1404, allocations: 0 / 445.9 MB, free: 9.613 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1404, allocations: 4 kB / 445.9 MB, free: 9.609 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.391e-05/0.1405, allocations: 0 / 445.9 MB, free: 9.609 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.002469/0.1429, allocations: 1.063 MB / 447 MB, free: 8.492 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.143, allocations: 12.03 kB / 447 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002085/0.1432, allocations: 91.81 kB / 447.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.1442, allocations: 0.5662 MB / 447.7 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.462e-05/0.1443, allocations: 37.38 kB / 447.7 MB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.1444, allocations: 56.12 kB / 447.8 MB, free: 7.691 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.1456, allocations: 0.629 MB / 448.4 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.1457, allocations: 7.906 kB / 448.4 MB, free: 7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.944e-05/0.1457, allocations: 20 kB / 448.4 MB, free: 6.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.1457, allocations: 12 kB / 448.4 MB, free: 6.969 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001133/0.1469, allocations: 0.4977 MB / 448.9 MB, free: 6.473 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003866/0.1508, allocations: 2.679 MB / 451.6 MB, free: 3.691 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.1519, allocations: 0.5314 MB / 452.1 MB, free: 3.133 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006066/0.1525, allocations: 290.7 kB / 452.4 MB, free: 2.844 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.55e-05/0.1526, allocations: 8.172 kB / 452.4 MB, free: 2.836 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.1527, allocations: 46.73 kB / 452.5 MB, free: 2.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.625e-06/0.1527, allocations: 0 / 452.5 MB, free: 2.781 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002919/0.1556, allocations: 1.22 MB / 453.7 MB, free: 1.551 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.1557, allocations: 132.5 kB / 453.8 MB, free: 1.391 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000975/0.1567, allocations: 0.6645 MB / 454.5 MB, free: 0.7188 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.1567, allocations: 37.7 kB / 454.5 MB, free: 0.6758 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003499/0.1571, allocations: 360.8 kB / 454.9 MB, free: 328 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001918/0.1573, allocations: 177.4 kB / 455 MB, free: 148 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.697e-05/0.1574, allocations: 69.67 kB / 455.1 MB, free: 72 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.222/0.3794, allocations: 329.7 kB / 455.4 MB, free: 48.02 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00124/0.3808, allocations: 300.8 kB / 455.7 MB, free: 48.02 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007465/0.3815, allocations: 461.4 kB / 456.2 MB, free: 47.86 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.3828, allocations: 0.7589 MB / 456.9 MB, free: 47.7 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.536e-06/0.3828, allocations: 0 / 456.9 MB, free: 47.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001619/0.3845, allocations: 0.8701 MB / 457.8 MB, free: 47.65 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.271e-05/0.3846, allocations: 221.5 kB / 458 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.3846, allocations: 6.5 kB / 458 MB, free: 47.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/0.3846, allocations: 10.22 kB / 458 MB, free: 47.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008745/0.3855, allocations: 207.9 kB / 458.2 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.3855, allocations: 8.719 kB / 458.2 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005674/0.3861, allocations: 93.41 kB / 458.3 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.922e-05/0.3862, allocations: 24.22 kB / 458.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.883e-06/0.3862, allocations: 2.719 kB / 458.4 MB, free: 47.39 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001291/0.3875, allocations: 0.7466 MB / 459.1 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.3875, allocations: 6.438 kB / 459.1 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.743e-06/0.3875, allocations: 6.219 kB / 459.1 MB, free: 47.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007383/0.3882, allocations: 203.7 kB / 459.3 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3883, allocations: 6.375 kB / 459.3 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.3887, allocations: 98.05 kB / 459.4 MB, free: 47.32 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.729e-05/0.3888, allocations: 25.59 kB / 459.5 MB, free: 47.32 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.000288/0.3891, allocations: 289.1 kB / 459.7 MB, free: 47.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.3892, allocations: 73.83 kB / 459.8 MB, free: 47.12 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3894, allocations: 93.83 kB / 459.9 MB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3894, allocations: 6.953 kB / 459.9 MB, free: 47.11 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.3894, allocations: 7.938 kB / 459.9 MB, free: 47.1 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.3894, allocations: 3.188 kB / 459.9 MB, free: 47.1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.3911, allocations: 1.283 MB / 461.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.3911, allocations: 3.938 kB / 461.2 MB, free: 46.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006001/0.3917, allocations: 123.6 kB / 461.3 MB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.3917, allocations: 3.344 kB / 461.3 MB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.3918, allocations: 15.86 kB / 461.3 MB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.3918, allocations: 4.031 kB / 461.3 MB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3918, allocations: 4 kB / 461.3 MB, free: 46.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001883/0.3937, allocations: 1.236 MB / 462.6 MB, free: 46.36 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001993/0.3939, allocations: 199.7 kB / 462.8 MB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.297e-05/0.394, allocations: 14.56 kB / 462.8 MB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005328/0.3945, allocations: 65.47 kB / 462.9 MB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.3947, allocations: 37.66 kB / 462.9 MB, free: 46.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.3947, allocations: 15.56 kB / 462.9 MB, free: 46.26 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006015/0.3953, allocations: 465.2 kB / 463.4 MB, free: 46.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.061e-06/0.3953, allocations: 0 / 463.4 MB, free: 46.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008757/0.3962, allocations: 228 kB / 463.6 MB, free: 46.16 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.0002674/0.3965, allocations: 143 kB / 463.7 MB, free: 46.06 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001988/0.3985, allocations: 1.065 MB / 464.8 MB, free: 46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.3985, allocations: 0 / 464.8 MB, free: 46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006216/0.3991, allocations: 317.4 kB / 465.1 MB, free: 45.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001155/0.4003, allocations: 185.7 kB / 465.3 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002218/0.4025, allocations: 1.811 MB / 467.1 MB, free: 45.06 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.4029, allocations: 0.9519 MB / 468 MB, free: 44.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004672/0.4033, allocations: 150.9 kB / 468.2 MB, free: 44.33 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.4035, allocations: 43.72 kB / 468.2 MB, free: 44.32 MB / 382.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4035, allocations: 0 / 468.2 MB, free: 44.32 MB / 382.1 MB Notification: Performance of Templates: time 0.01216/0.4157, allocations: 7.686 MB / 475.9 MB, free: 43.85 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: