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.0007713/0.0007713, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.0007918/0.0007918, allocations: 172.7 kB / 15.95 MB, free: 208 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.198/1.198, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.2552/0.2552, allocations: 38.04 MB / 308.4 MB, free: 10.4 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.0006257/0.0006259, allocations: 20 kB / 376.4 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08822/0.08886, allocations: 57.52 MB / 434 MB, free: 5.559 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003077/0.09197, allocations: 2.851 MB / 436.8 MB, free: 2.688 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002582/0.09458, allocations: 1.509 MB / 438.3 MB, free: 1.168 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004672/0.09507, allocations: 19.88 kB / 438.3 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004745/0.09556, allocations: 107.2 kB / 438.4 MB, free: 1.043 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005326/0.09611, allocations: 155 kB / 438.6 MB, free: 0.8906 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00107/0.09719, allocations: 427.3 kB / 439 MB, free: 484 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009068/0.09811, allocations: 0.8184 MB / 439.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002835/0.09841, allocations: 185.1 kB / 440 MB, free: 15.46 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003532/0.09877, allocations: 306.6 kB / 440.3 MB, free: 15.16 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003849/0.09916, allocations: 334.3 kB / 440.6 MB, free: 14.83 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.838e-05/0.09923, allocations: 23.94 kB / 440.7 MB, free: 14.81 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001943/0.09944, allocations: 127.8 kB / 440.8 MB, free: 14.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001585/0.0996, allocations: 147.3 kB / 440.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.09972, allocations: 133.3 kB / 441.1 MB, free: 14.4 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.1002, allocations: 0.6275 MB / 441.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1002, allocations: 0 / 441.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1003, allocations: 0 / 441.7 MB, free: 13.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1003, allocations: 0 / 441.7 MB, free: 13.77 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.001797/0.1021, allocations: 1.075 MB / 442.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.183e-05/0.1021, allocations: 8.031 kB / 442.8 MB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001221/0.1022, allocations: 94.83 kB / 442.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000763/0.103, allocations: 0.5305 MB / 443.4 MB, free: 11.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.1031, allocations: 37 kB / 443.4 MB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.835e-05/0.1032, allocations: 67.78 kB / 443.5 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009871/0.1041, allocations: 0.6252 MB / 444.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1042, allocations: 0 / 444.1 MB, free: 11.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/0.1042, allocations: 16 kB / 444.1 MB, free: 11.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.284e-05/0.1042, allocations: 15.94 kB / 444.1 MB, free: 11.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009743/0.1052, allocations: 0.4938 MB / 444.6 MB, free: 10.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003125/0.1084, allocations: 2.686 MB / 447.3 MB, free: 7.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.1093, allocations: 0.5277 MB / 447.9 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000521/0.1098, allocations: 286.9 kB / 448.1 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.553e-05/0.1099, allocations: 8.234 kB / 448.1 MB, free: 7.023 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1099, allocations: 46.73 kB / 448.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.114e-06/0.1099, allocations: 0 / 448.2 MB, free: 6.969 MB / 382.1 MB Notification: Performance of matching and sorting (n=46): time 0.002299/0.1122, allocations: 1.212 MB / 449.4 MB, free: 5.746 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.935e-05/0.1123, allocations: 144.4 kB / 449.5 MB, free: 5.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.1131, allocations: 0.649 MB / 450.2 MB, free: 4.918 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.1131, allocations: 37.7 kB / 450.2 MB, free: 4.875 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.1134, allocations: 364.7 kB / 450.6 MB, free: 4.516 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.1135, allocations: 181.4 kB / 450.8 MB, free: 4.336 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.17e-05/0.1135, allocations: 12 kB / 450.8 MB, free: 4.324 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.1136, allocations: 330 kB / 451.1 MB, free: 3.996 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005651/0.1142, allocations: 297.1 kB / 451.4 MB, free: 3.707 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006485/0.1149, allocations: 464.8 kB / 451.8 MB, free: 3.188 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006422/0.1155, allocations: 339.7 kB / 452.2 MB, free: 2.855 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1155, allocations: 0 / 452.2 MB, free: 2.855 MB / 382.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.001478/0.117, allocations: 0.8629 MB / 453 MB, free: 1.984 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001154/0.1171, allocations: 222 kB / 453.2 MB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.1172, allocations: 8 kB / 453.3 MB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.1172, allocations: 11.95 kB / 453.3 MB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008172/0.118, allocations: 203.8 kB / 453.5 MB, free: 1.484 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.118, allocations: 8 kB / 453.5 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004748/0.1185, allocations: 91.62 kB / 453.6 MB, free: 1.387 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.521e-05/0.1186, allocations: 27.94 kB / 453.6 MB, free: 1.359 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.504e-06/0.1186, allocations: 7.938 kB / 453.6 MB, free: 1.352 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001292/0.1199, allocations: 0.7453 MB / 454.3 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/0.1199, allocations: 8.031 kB / 454.4 MB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.775e-06/0.1199, allocations: 8 kB / 454.4 MB, free: 0.5898 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007346/0.1206, allocations: 199.8 kB / 454.6 MB, free: 404 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1207, allocations: 11.94 kB / 454.6 MB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.1211, allocations: 91.48 kB / 454.7 MB, free: 300 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.973e-05/0.1212, allocations: 23.98 kB / 454.7 MB, free: 276 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.1566/0.2778, allocations: 290.3 kB / 455 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.278, allocations: 69.38 kB / 455 MB, free: 49.15 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002113/0.2782, allocations: 96.2 kB / 455.1 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.52e-06/0.2782, allocations: 3.5 kB / 455.1 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.2783, allocations: 3.031 kB / 455.1 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.2783, allocations: 5 kB / 455.1 MB, free: 49.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.2799, allocations: 1.287 MB / 456.4 MB, free: 48.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.2799, allocations: 3.562 kB / 456.4 MB, free: 48.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005742/0.2805, allocations: 118.6 kB / 456.5 MB, free: 48.76 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.2805, allocations: 6.312 kB / 456.5 MB, free: 48.76 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.915e-05/0.2805, allocations: 16.81 kB / 456.6 MB, free: 48.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.2805, allocations: 3.188 kB / 456.6 MB, free: 48.76 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.2805, allocations: 3.375 kB / 456.6 MB, free: 48.76 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.2821, allocations: 1.238 MB / 457.8 MB, free: 48.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001678/0.2823, allocations: 204.6 kB / 458 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.73e-05/0.2824, allocations: 13.72 kB / 458 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004655/0.2828, allocations: 65.22 kB / 458.1 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.957e-05/0.2829, allocations: 33.34 kB / 458.1 MB, free: 48.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.283, allocations: 20.02 kB / 458.1 MB, free: 48.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004745/0.2835, allocations: 457 kB / 458.6 MB, free: 48.26 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.2835, allocations: 1.75 kB / 458.6 MB, free: 48.26 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007648/0.2842, allocations: 224.4 kB / 458.8 MB, free: 48.26 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 (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.0002149/0.2845, allocations: 139 kB / 458.9 MB, free: 48.18 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.2862, allocations: 1.043 MB / 460 MB, free: 48.17 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.2862, allocations: 0 / 460 MB, free: 48.17 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005217/0.2867, allocations: 319.5 kB / 460.3 MB, free: 48.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009015/0.2876, allocations: 174.3 kB / 460.5 MB, free: 48.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001998/0.2896, allocations: 1.735 MB / 462.2 MB, free: 47.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002693/0.2899, allocations: 0.9505 MB / 463.2 MB, free: 46.62 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004284/0.2903, allocations: 149.3 kB / 463.3 MB, free: 46.61 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/0.2905, allocations: 46.92 kB / 463.3 MB, free: 46.61 MB / 382.1 MB Notification: Performance of SimCode: time 6.21e-07/0.2905, allocations: 3.188 kB / 463.3 MB, free: 46.61 MB / 382.1 MB Notification: Performance of Templates: time 0.00984/0.3004, allocations: 7.434 MB / 470.8 MB, free: 46.14 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: