Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous.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,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") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004216/0.004221, allocations: 348.4 kB / 15.94 MB, free: 6.215 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.909/3.909, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003518/0.003518, allocations: 229.1 kB / 397.9 MB, free: 4.977 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.5958/0.5958, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008311/0.0008314, allocations: 19.98 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1275, allocations: 48.7 MB / 0.6067 GB, free: 4.656 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous): time 0.003636/0.1312, allocations: 2.609 MB / 0.6093 GB, free: 2.027 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.271/0.4022, allocations: 1.409 MB / 0.6107 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006434/0.403, allocations: 23.36 kB / 0.6107 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00053/0.4035, allocations: 84.11 kB / 0.6108 GB, free: 88.62 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008906/0.4044, allocations: 157.7 kB / 0.6109 GB, free: 88.56 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002443/0.4069, allocations: 466.2 kB / 0.6114 GB, free: 88.55 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.4089, allocations: 0.7639 MB / 0.6121 GB, free: 88.44 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006031/0.4095, allocations: 161.2 kB / 0.6123 GB, free: 88.43 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009825/0.4106, allocations: 294 kB / 0.6125 GB, free: 88.35 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008027/0.4114, allocations: 307.6 kB / 0.6128 GB, free: 88.28 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002009/0.4116, allocations: 21.28 kB / 0.6129 GB, free: 88.28 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.4118, allocations: 22.41 kB / 0.6129 GB, free: 88.28 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002599/0.4121, allocations: 145.6 kB / 0.613 GB, free: 88.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.4123, allocations: 118.1 kB / 0.6131 GB, free: 88.2 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009914/0.4133, allocations: 0.5061 MB / 0.6136 GB, free: 88.14 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.4133, allocations: 0 / 0.6136 GB, free: 88.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.4133, allocations: 1.891 kB / 0.6136 GB, free: 88.14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.747e-05/0.4134, allocations: 0 / 0.6136 GB, free: 88.14 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.003791/0.4172, allocations: 1.009 MB / 0.6146 GB, free: 87.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.359e-05/0.4172, allocations: 8.844 kB / 0.6146 GB, free: 87.55 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003686/0.4176, allocations: 86.09 kB / 0.6147 GB, free: 87.51 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.4191, allocations: 0.4989 MB / 0.6152 GB, free: 87.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.88e-05/0.4192, allocations: 33.69 kB / 0.6152 GB, free: 87.23 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.4193, allocations: 49.16 kB / 0.6153 GB, free: 87.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001854/0.4212, allocations: 0.5432 MB / 0.6158 GB, free: 87.13 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.188e-05/0.4213, allocations: 1.25 kB / 0.6158 GB, free: 87.13 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.018e-05/0.4214, allocations: 16.53 kB / 0.6158 GB, free: 87.13 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.946e-05/0.4214, allocations: 15.41 kB / 0.6158 GB, free: 87.12 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.4234, allocations: 466.4 kB / 0.6163 GB, free: 87.12 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005876/0.4293, allocations: 1.944 MB / 0.6182 GB, free: 86.37 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002177/0.4315, allocations: 0.5825 MB / 0.6187 GB, free: 86.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.4328, allocations: 280.9 kB / 0.619 GB, free: 86.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.9e-05/0.4329, allocations: 10.55 kB / 0.619 GB, free: 86.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.4329, allocations: 41.03 kB / 0.6191 GB, free: 86.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=42): time 3.617e-06/0.4329, allocations: 1.125 kB / 0.6191 GB, free: 86.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.004764/0.4377, allocations: 1.152 MB / 0.6202 GB, free: 85.92 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.966e-05/0.4378, allocations: 146.5 kB / 0.6203 GB, free: 85.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001411/0.4392, allocations: 0.5895 MB / 0.6209 GB, free: 85.63 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001722/0.4395, allocations: 35.83 kB / 0.6209 GB, free: 85.6 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.4398, allocations: 321.1 kB / 0.6212 GB, free: 85.48 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002514/0.4401, allocations: 173.2 kB / 0.6214 GB, free: 85.37 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.788e-05/0.4402, allocations: 8.656 kB / 0.6214 GB, free: 85.37 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.4403, allocations: 383 kB / 0.6218 GB, free: 85.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00121/0.4416, allocations: 274.9 kB / 0.622 GB, free: 84.96 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.4429, allocations: 390.6 kB / 0.6224 GB, free: 84.78 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001259/0.4442, allocations: 308.2 kB / 0.6227 GB, free: 84.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4442, allocations: 1.125 kB / 0.6227 GB, free: 84.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.00317/0.4474, allocations: 0.7732 MB / 0.6235 GB, free: 84.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.4475, allocations: 9.359 kB / 0.6235 GB, free: 84.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.4475, allocations: 3.266 kB / 0.6235 GB, free: 84.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.343e-05/0.4476, allocations: 5.5 kB / 0.6235 GB, free: 84.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.4489, allocations: 151.6 kB / 0.6236 GB, free: 84.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.871e-05/0.449, allocations: 6.062 kB / 0.6236 GB, free: 84.39 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.4501, allocations: 87.06 kB / 0.6237 GB, free: 84.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.933e-05/0.4502, allocations: 20 kB / 0.6237 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.0004675/0.4506, allocations: 196 kB / 0.6239 GB, free: 84.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.4509, allocations: 70.11 kB / 0.624 GB, free: 84.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.4511, allocations: 87.53 kB / 0.6241 GB, free: 84.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/0.4511, allocations: 5.594 kB / 0.6241 GB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.4512, allocations: 5.125 kB / 0.6241 GB, free: 84.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003362/0.4515, allocations: 200 kB / 0.6243 GB, free: 83.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001653/0.4517, allocations: 14.41 kB / 0.6243 GB, free: 83.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.4527, allocations: 59.98 kB / 0.6243 GB, free: 83.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001824/0.4529, allocations: 39.27 kB / 0.6244 GB, free: 83.91 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005068/0.458, allocations: 1.077 MB / 0.6254 GB, free: 83.47 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004112/0.4622, allocations: 1.326 MB / 0.6267 GB, free: 82.81 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001166/0.4634, allocations: 305.5 kB / 0.627 GB, free: 82.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001086/0.4645, allocations: 425.2 kB / 0.6274 GB, free: 82.55 MB / 362.7 MB Notification: Performance of Backend: time 1.323e-06/0.4645, allocations: 0 / 0.6274 GB, free: 82.55 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002501/0.4671, allocations: 480.1 kB / 0.6279 GB, free: 82.36 MB / 362.7 MB Notification: Performance of SimCode: time 0.004114/0.4712, allocations: 2.026 MB / 0.6299 GB, free: 81.02 MB / 362.7 MB Notification: Performance of Templates: time 0.02616/0.4974, allocations: 8.029 MB / 0.6377 GB, free: 78.2 MB / 362.7 MB