Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Continuous_InitialState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|criticalDamping.x.1.|criticalDamping.x.2.|derivative.x|firstOrder.y|integrator.y|limIntegrator.y|limPID.D.x|limPID.I.y|lowpassButterworth.x1.1.|lowpassButterworth.x2.1.|pI.x|pID.D.x|pID.I.y|secondOrder.y|secondOrder.yd|stateSpace.x.1.|stateSpace.x.2.|transferFunction.x_scaled.1.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002619/0.002627, allocations: 354.2 kB / 15.95 MB, free: 6.211 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.976/3.976, allocations: 341.5 MB / 358.2 MB, free: 12.63 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003593/0.003592, allocations: 221.2 kB / 397.9 MB, free: 4.984 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4765/0.4765, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004727, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0926/0.0931, allocations: 48.71 MB / 0.6067 GB, free: 4.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialState): time 0.003883/0.09705, allocations: 2.632 MB / 0.6093 GB, free: 2.008 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2796/0.3767, allocations: 1.42 MB / 0.6107 GB, free: 88.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005404/0.3773, allocations: 20.17 kB / 0.6107 GB, free: 88.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.3778, allocations: 85.62 kB / 0.6108 GB, free: 88.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007414/0.3786, allocations: 159.7 kB / 0.6109 GB, free: 88.52 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002234/0.3808, allocations: 461.8 kB / 0.6114 GB, free: 88.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002054/0.3829, allocations: 0.7658 MB / 0.6121 GB, free: 88.39 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006056/0.3836, allocations: 159.1 kB / 0.6123 GB, free: 88.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009281/0.3845, allocations: 293.8 kB / 0.6126 GB, free: 88.3 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008484/0.3854, allocations: 309.2 kB / 0.6129 GB, free: 88.23 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002021/0.3856, allocations: 21.94 kB / 0.6129 GB, free: 88.23 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.3858, allocations: 20.22 kB / 0.6129 GB, free: 88.23 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.3861, allocations: 142.8 kB / 0.613 GB, free: 88.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.3863, allocations: 121 kB / 0.6132 GB, free: 88.15 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009984/0.3873, allocations: 0.5085 MB / 0.6137 GB, free: 88.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.3874, allocations: 0 / 0.6137 GB, free: 88.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.3874, allocations: 4.641 kB / 0.6137 GB, free: 88.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.3874, allocations: 1.281 kB / 0.6137 GB, free: 88.1 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003724/0.3912, allocations: 1.002 MB / 0.6146 GB, free: 87.51 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.3912, allocations: 12.03 kB / 0.6146 GB, free: 87.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003907/0.3916, allocations: 85.17 kB / 0.6147 GB, free: 87.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001635/0.3933, allocations: 0.4941 MB / 0.6152 GB, free: 87.19 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.075e-05/0.3934, allocations: 34.69 kB / 0.6152 GB, free: 87.19 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000163/0.3936, allocations: 48.02 kB / 0.6153 GB, free: 87.19 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.3957, allocations: 0.5471 MB / 0.6158 GB, free: 87.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.505e-05/0.3958, allocations: 5.156 kB / 0.6158 GB, free: 87.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.101e-05/0.3958, allocations: 17.78 kB / 0.6158 GB, free: 87.08 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.911e-05/0.3959, allocations: 10.92 kB / 0.6159 GB, free: 87.08 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.3979, allocations: 468.9 kB / 0.6163 GB, free: 87.07 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005846/0.4038, allocations: 1.949 MB / 0.6182 GB, free: 86.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/0.406, allocations: 0.5789 MB / 0.6188 GB, free: 86.24 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001129/0.4072, allocations: 272.5 kB / 0.619 GB, free: 86.21 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.909e-05/0.4073, allocations: 17.73 kB / 0.619 GB, free: 86.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.258e-05/0.4073, allocations: 39.25 kB / 0.6191 GB, free: 86.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.757e-06/0.4073, allocations: 0 / 0.6191 GB, free: 86.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.004594/0.4119, allocations: 1.15 MB / 0.6202 GB, free: 85.88 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/0.412, allocations: 141.8 kB / 0.6203 GB, free: 85.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.4135, allocations: 0.5887 MB / 0.6209 GB, free: 85.59 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001757/0.4137, allocations: 38.61 kB / 0.621 GB, free: 85.56 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003898/0.4141, allocations: 319.1 kB / 0.6213 GB, free: 85.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003324/0.4144, allocations: 173.1 kB / 0.6214 GB, free: 85.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.334e-05/0.4145, allocations: 9.75 kB / 0.6214 GB, free: 85.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.4147, allocations: 382.8 kB / 0.6218 GB, free: 85.01 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.4159, allocations: 278.3 kB / 0.6221 GB, free: 84.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0012/0.4171, allocations: 386.3 kB / 0.6224 GB, free: 84.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001225/0.4183, allocations: 312.5 kB / 0.6227 GB, free: 84.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.311e-06/0.4184, allocations: 3.281 kB / 0.6227 GB, free: 84.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002892/0.4213, allocations: 0.7654 MB / 0.6235 GB, free: 84.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.235e-05/0.4213, allocations: 11.47 kB / 0.6235 GB, free: 84.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.4214, allocations: 3.125 kB / 0.6235 GB, free: 84.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.358e-05/0.4214, allocations: 6.406 kB / 0.6235 GB, free: 84.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/0.4227, allocations: 154.1 kB / 0.6236 GB, free: 84.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.077e-05/0.4228, allocations: 8.5 kB / 0.6237 GB, free: 84.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001027/0.4238, allocations: 92.48 kB / 0.6237 GB, free: 84.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.372e-05/0.4239, allocations: 20.2 kB / 0.6238 GB, free: 84.36 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 68 * 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 prepare postOptimizeDAE: time 0.000475/0.4244, allocations: 197 kB / 0.624 GB, free: 84.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.4247, allocations: 63.94 kB / 0.624 GB, free: 84.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.4249, allocations: 87.14 kB / 0.6241 GB, free: 84.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.4249, allocations: 2.703 kB / 0.6241 GB, free: 84.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.4249, allocations: 0.875 kB / 0.6241 GB, free: 84.1 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/0.4253, allocations: 199.4 kB / 0.6243 GB, free: 83.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.4255, allocations: 19.73 kB / 0.6243 GB, free: 83.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001016/0.4265, allocations: 55.75 kB / 0.6244 GB, free: 83.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001659/0.4267, allocations: 40.69 kB / 0.6244 GB, free: 83.91 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005007/0.4317, allocations: 1.086 MB / 0.6255 GB, free: 83.47 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.00397/0.4357, allocations: 1.321 MB / 0.6268 GB, free: 82.82 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001176/0.437, allocations: 301.8 kB / 0.627 GB, free: 82.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00109/0.4381, allocations: 427.7 kB / 0.6274 GB, free: 82.55 MB / 362.7 MB Notification: Performance of Backend: time 6.21e-07/0.4381, allocations: 0 / 0.6274 GB, free: 82.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002387/0.4405, allocations: 475.8 kB / 0.6279 GB, free: 82.37 MB / 362.7 MB Notification: Performance of SimCode: time 0.00391/0.4445, allocations: 2.027 MB / 0.6299 GB, free: 81.02 MB / 362.7 MB Notification: Performance of Templates: time 0.02607/0.4706, allocations: 8.034 MB / 0.6377 GB, free: 78.19 MB / 362.7 MB