Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState") translateModel(ModelicaTest.Blocks.Continuous_SteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.001191/0.001191, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.001414/0.001414, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.2906/0.2906, allocations: 40 MB / 310.4 MB, free: 9.934 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.0004882/0.0004883, allocations: 16 kB / 378.8 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1022, allocations: 57.96 MB / 436.8 MB, free: 2.602 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_SteadyState): time 0.003193/0.1054, allocations: 2.832 MB / 439.6 MB, free: 15.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1077, allocations: 1.498 MB / 441.1 MB, free: 14.24 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.1079, allocations: 23.81 kB / 441.1 MB, free: 14.22 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.1083, allocations: 87.34 kB / 441.2 MB, free: 14.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.1087, allocations: 195.4 kB / 441.4 MB, free: 13.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008498/0.1095, allocations: 419.2 kB / 441.8 MB, free: 13.53 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006653/0.1102, allocations: 0.5695 MB / 442.4 MB, free: 12.96 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002699/0.1105, allocations: 181 kB / 442.5 MB, free: 12.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003713/0.1109, allocations: 314.7 kB / 442.8 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.1113, allocations: 318.4 kB / 443.2 MB, free: 12.15 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.576e-05/0.1114, allocations: 20 kB / 443.2 MB, free: 12.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.506e-05/0.1114, allocations: 24 kB / 443.2 MB, free: 12.11 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.1116, allocations: 151.4 kB / 443.3 MB, free: 11.96 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1117, allocations: 129.3 kB / 443.5 MB, free: 11.83 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004791/0.1122, allocations: 0.5261 MB / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.1122, allocations: 0 / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.296e-06/0.1122, allocations: 0 / 444 MB, free: 11.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.1123, allocations: 3.938 kB / 444 MB, free: 11.3 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.001948/0.1142, allocations: 1.059 MB / 445.1 MB, free: 10.18 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1143, allocations: 16.03 kB / 445.1 MB, free: 10.17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.1144, allocations: 94.83 kB / 445.2 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008149/0.1152, allocations: 0.5343 MB / 445.7 MB, free: 9.496 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.955e-05/0.1153, allocations: 41 kB / 445.7 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.1154, allocations: 59.94 kB / 445.8 MB, free: 9.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009864/0.1163, allocations: 0.6213 MB / 446.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.862e-05/0.1164, allocations: 0 / 446.4 MB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.987e-05/0.1164, allocations: 31.92 kB / 446.5 MB, free: 8.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.1165, allocations: 12 kB / 446.5 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.1174, allocations: 0.4939 MB / 447 MB, free: 8.184 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.1206, allocations: 2.636 MB / 449.6 MB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.1218, allocations: 0.5819 MB / 450.2 MB, free: 4.836 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.1218, allocations: 4 kB / 450.2 MB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.1219, allocations: 42.59 kB / 450.2 MB, free: 4.781 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.855e-06/0.1219, allocations: 4 kB / 450.2 MB, free: 4.777 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002317/0.1242, allocations: 1.206 MB / 451.4 MB, free: 3.562 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.1243, allocations: 140.5 kB / 451.6 MB, free: 3.395 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.125, allocations: 0.6528 MB / 452.2 MB, free: 2.734 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/0.1251, allocations: 37.69 kB / 452.3 MB, free: 2.691 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.1253, allocations: 368 kB / 452.6 MB, free: 2.328 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.1255, allocations: 173.5 kB / 452.8 MB, free: 2.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/0.1255, allocations: 15.94 kB / 452.8 MB, free: 2.141 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.848e-05/0.1256, allocations: 334 kB / 453.1 MB, free: 1.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005692/0.1262, allocations: 277.1 kB / 453.4 MB, free: 1.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006506/0.1268, allocations: 433.2 kB / 453.8 MB, free: 1.051 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006158/0.1275, allocations: 329 kB / 454.1 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.1275, allocations: 4 kB / 454.2 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.1918/0.3193, allocations: 0.8501 MB / 455 MB, free: 47.76 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003552/0.3197, allocations: 1.749 MB / 456.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.3197, allocations: 5.781 kB / 456.8 MB, free: 45.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002529/0.3199, allocations: 62.33 kB / 456.8 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008707/0.3208, allocations: 204.3 kB / 457 MB, free: 45.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.3219, allocations: 1.52 MB / 458.5 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005979/0.3225, allocations: 88.89 kB / 458.6 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.954e-05/0.3225, allocations: 26.69 kB / 458.7 MB, free: 44.7 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.351e-06/0.3225, allocations: 3.031 kB / 458.7 MB, free: 44.7 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001244/0.3238, allocations: 0.7339 MB / 459.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.3238, allocations: 6 kB / 459.4 MB, free: 44.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000121/0.3239, allocations: 57.19 kB / 459.4 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.3247, allocations: 204 kB / 459.6 MB, free: 44.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008229/0.3255, allocations: 1.508 MB / 461.2 MB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005237/0.326, allocations: 88.5 kB / 461.2 MB, free: 43.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.849e-05/0.3261, allocations: 25.22 kB / 461.3 MB, free: 43.43 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003516/0.3264, allocations: 291 kB / 461.6 MB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001387/0.3266, allocations: 71.75 kB / 461.6 MB, free: 43.23 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/0.3267, allocations: 90.7 kB / 461.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/0.3267, allocations: 11.62 kB / 461.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3268, allocations: 3.938 kB / 461.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3268, allocations: 3.234 kB / 461.7 MB, free: 43.21 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.3279, allocations: 0.8608 MB / 462.6 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3279, allocations: 3.625 kB / 462.6 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.3285, allocations: 115.7 kB / 462.7 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.3285, allocations: 3.25 kB / 462.7 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.965e-05/0.3285, allocations: 13.25 kB / 462.7 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.3285, allocations: 7.984 kB / 462.7 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3285, allocations: 3.938 kB / 462.7 MB, free: 42.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00169/0.3302, allocations: 1.217 MB / 463.9 MB, free: 42.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002069/0.3305, allocations: 206.5 kB / 464.2 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.712e-05/0.3305, allocations: 16.64 kB / 464.2 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004831/0.331, allocations: 62.5 kB / 464.2 MB, free: 42.47 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.3311, allocations: 39.12 kB / 464.3 MB, free: 42.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.3312, allocations: 16.17 kB / 464.3 MB, free: 42.46 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005178/0.3317, allocations: 457.3 kB / 464.7 MB, free: 42.37 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3317, allocations: 0 / 464.7 MB, free: 42.37 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007209/0.3324, allocations: 198.1 kB / 464.9 MB, free: 42.37 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001154/0.3326, allocations: 124.9 kB / 465 MB, free: 42.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00217/0.3347, allocations: 1.238 MB / 466.3 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3348, allocations: 3.25 kB / 466.3 MB, free: 42 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005393/0.3353, allocations: 301 kB / 466.6 MB, free: 41.99 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.3361, allocations: 165.6 kB / 466.7 MB, free: 41.98 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/0.3381, allocations: 1.73 MB / 468.5 MB, free: 41.14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.3385, allocations: 0.9728 MB / 469.4 MB, free: 40.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004024/0.3389, allocations: 142.8 kB / 469.6 MB, free: 40.42 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001459/0.339, allocations: 53.09 kB / 469.6 MB, free: 40.41 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.339, allocations: 0 / 469.6 MB, free: 40.41 MB / 382.1 MB Notification: Performance of Templates: time 0.01104/0.3501, allocations: 7.337 MB / 477 MB, free: 39.95 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.sim & ./ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.pipe 2>&1) Environment - environmentSimulation: