Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001817/0.001817, allocations: 191.3 kB / 16.14 MB, free: 6.703 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.528/1.528, allocations: 205.1 MB / 222 MB, free: 4.75 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.3554/0.3554, allocations: 37.98 MB / 307.3 MB, free: 10.04 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.001399/0.001399, allocations: 61 kB / 374.5 MB, free: 15.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1603, allocations: 56.47 MB / 431 MB, free: 7.078 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.01006/0.1704, allocations: 3.382 MB / 434.4 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005557/0.176, allocations: 1.567 MB / 436 MB, free: 2.094 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008595/0.177, allocations: 19.88 kB / 436 MB, free: 2.074 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008352/0.1779, allocations: 107.2 kB / 436.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008903/0.1788, allocations: 167 kB / 436.2 MB, free: 1.805 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.1811, allocations: 0.4914 MB / 436.7 MB, free: 1.312 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.1828, allocations: 0.8457 MB / 437.6 MB, free: 476 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006065/0.1835, allocations: 234.3 kB / 437.8 MB, free: 228 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007326/0.1842, allocations: 322.4 kB / 438.1 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007279/0.185, allocations: 382 kB / 438.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001243/0.1851, allocations: 32 kB / 438.5 MB, free: 15.5 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001327/0.1853, allocations: 32 kB / 438.6 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.1856, allocations: 167.3 kB / 438.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004842/0.1861, allocations: 313.8 kB / 439 MB, free: 15 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001032/0.1872, allocations: 0.7122 MB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1872, allocations: 3.938 kB / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1872, allocations: 0 / 439.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.1872, allocations: 0 / 439.7 MB, free: 14.28 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.003776/0.191, allocations: 1.152 MB / 440.9 MB, free: 13.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.075e-05/0.1911, allocations: 12.03 kB / 440.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002619/0.1914, allocations: 95.81 kB / 441 MB, free: 12.96 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001555/0.193, allocations: 0.5623 MB / 441.6 MB, free: 12.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/0.193, allocations: 41.38 kB / 441.6 MB, free: 12.32 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.1932, allocations: 56.28 kB / 441.7 MB, free: 12.27 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.1952, allocations: 0.6099 MB / 442.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.509e-05/0.1952, allocations: 3.938 kB / 442.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.361e-05/0.1953, allocations: 16 kB / 442.3 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.437e-05/0.1954, allocations: 16 kB / 442.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002022/0.1974, allocations: 461.8 kB / 442.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006189/0.2036, allocations: 2.635 MB / 445.4 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.2058, allocations: 0.5468 MB / 445.9 MB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/0.2068, allocations: 250.4 kB / 446.2 MB, free: 7.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.514e-05/0.2069, allocations: 8.031 kB / 446.2 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/0.207, allocations: 38.56 kB / 446.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 4.298e-06/0.207, allocations: 0 / 446.2 MB, free: 7.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.00452/0.2115, allocations: 1.139 MB / 447.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.2117, allocations: 136.5 kB / 447.5 MB, free: 6.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001526/0.2132, allocations: 0.649 MB / 448.1 MB, free: 5.527 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.739e-05/0.2133, allocations: 37.7 kB / 448.2 MB, free: 5.484 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004071/0.2137, allocations: 372 kB / 448.5 MB, free: 5.117 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002485/0.214, allocations: 169.5 kB / 448.7 MB, free: 4.949 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000305/0.2143, allocations: 118.2 kB / 448.8 MB, free: 4.828 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.2145, allocations: 337.9 kB / 449.2 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.2157, allocations: 263.3 kB / 449.4 MB, free: 4.23 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001269/0.217, allocations: 424.6 kB / 449.8 MB, free: 3.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001953/0.219, allocations: 0.6662 MB / 450.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.219, allocations: 0 / 450.5 MB, free: 3.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002951/0.2219, allocations: 0.8107 MB / 451.3 MB, free: 2.203 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.222, allocations: 12.09 kB / 451.3 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.222, allocations: 4 kB / 451.3 MB, free: 2.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000384/0.2224, allocations: 64.75 kB / 451.4 MB, free: 2.121 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.224, allocations: 191.7 kB / 451.6 MB, free: 1.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002153/0.2262, allocations: 1.495 MB / 453.1 MB, free: 316 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000949/0.2272, allocations: 87.62 kB / 453.2 MB, free: 228 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.928e-05/0.2273, allocations: 24 kB / 453.2 MB, free: 204 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.261/0.4883, allocations: 398.5 kB / 453.6 MB, free: 52.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006802/0.489, allocations: 412.2 kB / 454 MB, free: 52.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001252/0.4903, allocations: 0.6488 MB / 454.6 MB, free: 52.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.581e-06/0.4903, allocations: 2.781 kB / 454.6 MB, free: 52.46 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization_lambda0): time 0.001618/0.4919, allocations: 0.795 MB / 455.4 MB, free: 52.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.492, allocations: 6.562 kB / 455.4 MB, free: 52.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.492, allocations: 7.734 kB / 455.4 MB, free: 52.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001722/0.4921, allocations: 56.28 kB / 455.5 MB, free: 52.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008008/0.493, allocations: 193.3 kB / 455.7 MB, free: 52.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009445/0.4939, allocations: 1.499 MB / 457.2 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/0.4945, allocations: 74.14 kB / 457.2 MB, free: 51.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.4945, allocations: 28.09 kB / 457.3 MB, free: 51.18 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 (76): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001956/0.4947, allocations: 213.4 kB / 457.5 MB, free: 51 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001315/0.4949, allocations: 82.47 kB / 457.6 MB, free: 51 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.495, allocations: 95.5 kB / 457.7 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.4951, allocations: 3.375 kB / 457.7 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.4951, allocations: 0 / 457.7 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4951, allocations: 5.656 kB / 457.7 MB, free: 50.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001094/0.4962, allocations: 0.8503 MB / 458.5 MB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.4962, allocations: 0 / 458.5 MB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006237/0.4968, allocations: 104.1 kB / 458.6 MB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.4968, allocations: 4.062 kB / 458.6 MB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.93e-05/0.4969, allocations: 20.05 kB / 458.6 MB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.4969, allocations: 7.688 kB / 458.6 MB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4969, allocations: 1.562 kB / 458.6 MB, free: 50.69 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.4985, allocations: 1.131 MB / 459.8 MB, free: 50.25 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.4987, allocations: 192.6 kB / 460 MB, free: 50.13 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.061e-05/0.4988, allocations: 14.34 kB / 460 MB, free: 50.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.4993, allocations: 55.67 kB / 460 MB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4994, allocations: 44.61 kB / 460.1 MB, free: 50.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.018e-05/0.4995, allocations: 11.83 kB / 460.1 MB, free: 50.1 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005828/0.5001, allocations: 468.5 kB / 460.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5001, allocations: 0 / 460.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007568/0.5008, allocations: 196.1 kB / 460.7 MB, free: 49.89 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.0001322/0.501, allocations: 122.7 kB / 460.9 MB, free: 49.79 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.5032, allocations: 1.187 MB / 462 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.5032, allocations: 4.016 kB / 462.1 MB, free: 49.35 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005385/0.5037, allocations: 287.9 kB / 462.3 MB, free: 49.28 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.5048, allocations: 174 kB / 462.5 MB, free: 49.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002283/0.5071, allocations: 1.746 MB / 464.2 MB, free: 48.21 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.5074, allocations: 0.9463 MB / 465.2 MB, free: 47.5 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004796/0.5079, allocations: 139.7 kB / 465.3 MB, free: 47.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001674/0.5081, allocations: 47.12 kB / 465.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.31e-07/0.5081, allocations: 0 / 465.4 MB, free: 47.48 MB / 382.1 MB Notification: Performance of Templates: time 0.01408/0.5222, allocations: 7.688 MB / 473.1 MB, free: 47.03 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1)