Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008727/0.0008725, allocations: 94.28 kB / 15.37 MB, free: 0.7266 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.001087/0.001087, allocations: 176.8 kB / 16.27 MB, free: 6.672 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.443/1.443, allocations: 205.4 MB / 222.5 MB, free: 5.555 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.2778/0.2778, allocations: 38.03 MB / 308.8 MB, free: 10.32 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.0005485/0.0005485, allocations: 12.38 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09244/0.093, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003128/0.09616, allocations: 2.997 MB / 437.6 MB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002517/0.0987, allocations: 1.548 MB / 439.1 MB, free: 0.6328 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003802/0.09911, allocations: 27.81 kB / 439.1 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004267/0.09955, allocations: 103.3 kB / 439.2 MB, free: 0.5039 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004987/0.1001, allocations: 167 kB / 439.4 MB, free: 348 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001027/0.1011, allocations: 495.2 kB / 439.9 MB, free: 15.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008968/0.102, allocations: 0.869 MB / 440.7 MB, free: 14.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003388/0.1024, allocations: 222.4 kB / 441 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003732/0.1027, allocations: 298.4 kB / 441.3 MB, free: 14.46 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003947/0.1031, allocations: 342.2 kB / 441.6 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.901e-05/0.1032, allocations: 20 kB / 441.6 MB, free: 14.11 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.045e-05/0.1033, allocations: 24 kB / 441.6 MB, free: 14.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000159/0.1034, allocations: 159.3 kB / 441.8 MB, free: 13.93 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.1037, allocations: 315.5 kB / 442.1 MB, free: 13.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005278/0.1042, allocations: 0.6925 MB / 442.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1042, allocations: 0 / 442.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1042, allocations: 4 kB / 442.8 MB, free: 12.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.847e-06/0.1043, allocations: 0 / 442.8 MB, free: 12.91 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.001904/0.1062, allocations: 1.055 MB / 443.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.1062, allocations: 12.03 kB / 443.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.1063, allocations: 91.81 kB / 443.9 MB, free: 11.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007644/0.1071, allocations: 0.5623 MB / 444.5 MB, free: 11.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.684e-05/0.1072, allocations: 41.31 kB / 444.6 MB, free: 11.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.702e-05/0.1073, allocations: 60.27 kB / 444.6 MB, free: 11 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001109/0.1084, allocations: 0.6294 MB / 445.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1084, allocations: 7.938 kB / 445.2 MB, free: 10.31 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.731e-05/0.1084, allocations: 20 kB / 445.3 MB, free: 10.29 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.327e-05/0.1085, allocations: 12 kB / 445.3 MB, free: 10.28 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.1096, allocations: 0.49 MB / 445.8 MB, free: 9.789 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.1128, allocations: 2.694 MB / 448.5 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.114, allocations: 0.5741 MB / 449 MB, free: 6.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005629/0.1146, allocations: 270.4 kB / 449.3 MB, free: 6.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.1146, allocations: 11.98 kB / 449.3 MB, free: 6.105 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1147, allocations: 46.53 kB / 449.4 MB, free: 6.051 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 1.963e-06/0.1147, allocations: 0 / 449.4 MB, free: 6.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=44): time 0.002409/0.1171, allocations: 1.201 MB / 450.6 MB, free: 4.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.1172, allocations: 140.5 kB / 450.7 MB, free: 4.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008136/0.118, allocations: 0.6568 MB / 451.4 MB, free: 4.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.415e-05/0.118, allocations: 37.7 kB / 451.4 MB, free: 3.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/0.1183, allocations: 364 kB / 451.7 MB, free: 3.605 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001478/0.1185, allocations: 169.5 kB / 451.9 MB, free: 3.438 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/0.1186, allocations: 65.69 kB / 452 MB, free: 3.367 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.1187, allocations: 333.8 kB / 452.3 MB, free: 3.035 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006363/0.1193, allocations: 297.1 kB / 452.6 MB, free: 2.746 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006829/0.12, allocations: 452.6 kB / 453 MB, free: 2.238 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001265/0.1213, allocations: 0.7132 MB / 453.7 MB, free: 1.465 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.1213, allocations: 4 kB / 453.7 MB, free: 1.461 MB / 382.1 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001549/0.1229, allocations: 0.833 MB / 454.6 MB, free: 0.6211 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001229/0.123, allocations: 225.9 kB / 454.8 MB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.123, allocations: 8 kB / 454.8 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1231, allocations: 7.938 kB / 454.8 MB, free: 328 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006463/0.1237, allocations: 163.8 kB / 455 MB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.1237, allocations: 11.94 kB / 455 MB, free: 152 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005028/0.1242, allocations: 95.53 kB / 455.1 MB, free: 56 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.785e-05/0.1243, allocations: 24 kB / 455.1 MB, free: 32 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.943e-06/0.1243, allocations: 4 kB / 455.1 MB, free: 28 kB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1637/0.288, allocations: 0.7091 MB / 455.8 MB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.2881, allocations: 6.125 kB / 455.8 MB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.2881, allocations: 10.31 kB / 455.8 MB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005712/0.2887, allocations: 154.3 kB / 456 MB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.888e-06/0.2887, allocations: 8.562 kB / 456 MB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.2892, allocations: 89.52 kB / 456.1 MB, free: 50.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.459e-05/0.2893, allocations: 27.78 kB / 456.1 MB, free: 50.4 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 (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0002925/0.2896, allocations: 294.2 kB / 456.4 MB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.2897, allocations: 75.5 kB / 456.5 MB, free: 50.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001641/0.2899, allocations: 88.78 kB / 456.6 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.2899, allocations: 6 kB / 456.6 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.2899, allocations: 0 / 456.6 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.2899, allocations: 6.062 kB / 456.6 MB, free: 50.2 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009926/0.2909, allocations: 0.8631 MB / 457.4 MB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2909, allocations: 0 / 457.4 MB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005713/0.2915, allocations: 117.9 kB / 457.5 MB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2915, allocations: 4.531 kB / 457.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.8e-05/0.2916, allocations: 16.77 kB / 457.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.2916, allocations: 0 / 457.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.2916, allocations: 5.062 kB / 457.6 MB, free: 49.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.2933, allocations: 1.208 MB / 458.8 MB, free: 49.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001558/0.2935, allocations: 193.1 kB / 459 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.507e-05/0.2936, allocations: 20.36 kB / 459 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.2941, allocations: 60.42 kB / 459 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.2942, allocations: 40.67 kB / 459.1 MB, free: 49.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.478e-05/0.2942, allocations: 16.84 kB / 459.1 MB, free: 49.52 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004821/0.2947, allocations: 466.6 kB / 459.6 MB, free: 49.43 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.2947, allocations: 0 / 459.6 MB, free: 49.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006556/0.2954, allocations: 195.2 kB / 459.8 MB, free: 49.43 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 8.924e-05/0.2954, allocations: 118.3 kB / 459.9 MB, free: 49.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001792/0.2972, allocations: 1.018 MB / 460.9 MB, free: 49.29 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.2973, allocations: 4 kB / 460.9 MB, free: 49.29 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.2978, allocations: 299.5 kB / 461.2 MB, free: 49.29 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001059/0.2989, allocations: 181.5 kB / 461.4 MB, free: 49.28 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.301, allocations: 1.798 MB / 463.2 MB, free: 48.4 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.3013, allocations: 0.9556 MB / 464.1 MB, free: 47.69 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004131/0.3017, allocations: 149.3 kB / 464.3 MB, free: 47.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001473/0.3018, allocations: 50.33 kB / 464.3 MB, free: 47.67 MB / 382.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3018, allocations: 0 / 464.3 MB, free: 47.67 MB / 382.1 MB Notification: Performance of Templates: time 0.00991/0.3118, allocations: 6.772 MB / 471.1 MB, free: 47.26 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.sim & ./ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) Environment - environmentSimulation: