Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.Continuous_InitialOutput.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_InitialOutput,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_InitialOutput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00461/0.004617, allocations: 350.1 kB / 15.95 MB, free: 6.199 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.515/3.515, allocations: 341.5 MB / 358.2 MB, free: 28.64 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003515/0.003515, allocations: 219.4 kB / 397.9 MB, free: 6.008 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5189/0.5189, allocations: 76.1 MB / 0.5014 GB, free: 0.8008 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004806, allocations: 8 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09379/0.0943, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Continuous_InitialOutput): time 0.003765/0.09812, allocations: 2.649 MB / 0.6093 GB, free: 8.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003575/0.1018, allocations: 1.418 MB / 0.6107 GB, free: 7.453 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004833/0.1023, allocations: 19.88 kB / 0.6107 GB, free: 7.434 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004476/0.1028, allocations: 87.41 kB / 0.6108 GB, free: 7.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005561/0.1033, allocations: 159 kB / 0.611 GB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.1051, allocations: 469.4 kB / 0.6114 GB, free: 6.738 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001442/0.1066, allocations: 0.7948 MB / 0.6122 GB, free: 5.941 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004434/0.1071, allocations: 160.9 kB / 0.6123 GB, free: 5.773 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007245/0.1078, allocations: 298.6 kB / 0.6126 GB, free: 5.48 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005929/0.1084, allocations: 322.5 kB / 0.6129 GB, free: 5.164 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.1085, allocations: 20 kB / 0.6129 GB, free: 5.145 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.1089, allocations: 119.8 kB / 0.6131 GB, free: 5.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001859/0.1091, allocations: 147.3 kB / 0.6132 GB, free: 4.883 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001429/0.1093, allocations: 125.3 kB / 0.6133 GB, free: 4.754 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007376/0.11, allocations: 0.5847 MB / 0.6139 GB, free: 4.168 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.1101, allocations: 0 / 0.6139 GB, free: 4.168 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1101, allocations: 4 kB / 0.6139 GB, free: 4.164 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.053e-05/0.1101, allocations: 0 / 0.6139 GB, free: 4.164 MB / 282.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.003249/0.1133, allocations: 1.032 MB / 0.6149 GB, free: 3.082 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.167e-05/0.1134, allocations: 8.031 kB / 0.6149 GB, free: 3.074 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001955/0.1136, allocations: 79.06 kB / 0.615 GB, free: 2.996 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001244/0.1149, allocations: 0.4985 MB / 0.6155 GB, free: 2.461 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.115, allocations: 33 kB / 0.6155 GB, free: 2.43 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001309/0.1151, allocations: 51.91 kB / 0.6156 GB, free: 2.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/0.1166, allocations: 0.5405 MB / 0.6161 GB, free: 1.809 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.874e-05/0.1167, allocations: 11.92 kB / 0.6161 GB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.384e-05/0.1168, allocations: 16 kB / 0.6161 GB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.469e-05/0.1168, allocations: 12 kB / 0.6161 GB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001649/0.1185, allocations: 469.8 kB / 0.6166 GB, free: 1.312 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004868/0.1234, allocations: 1.936 MB / 0.6185 GB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001926/0.1253, allocations: 0.54 MB / 0.619 GB, free: 14.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.1264, allocations: 278.8 kB / 0.6193 GB, free: 14.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.1264, allocations: 7.984 kB / 0.6193 GB, free: 14.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.828e-05/0.1265, allocations: 42.5 kB / 0.6193 GB, free: 14.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=44): time 3.466e-06/0.1265, allocations: 0 / 0.6193 GB, free: 14.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=45): time 0.004354/0.1309, allocations: 1.174 MB / 0.6204 GB, free: 13.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.034e-05/0.131, allocations: 132.5 kB / 0.6206 GB, free: 13.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0013/0.1323, allocations: 0.5979 MB / 0.6212 GB, free: 12.45 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.942e-05/0.1324, allocations: 33.7 kB / 0.6212 GB, free: 12.41 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.1328, allocations: 324.4 kB / 0.6215 GB, free: 12.09 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002505/0.1331, allocations: 173.5 kB / 0.6217 GB, free: 11.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.1332, allocations: 12 kB / 0.6217 GB, free: 11.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.1334, allocations: 378.8 kB / 0.622 GB, free: 11.53 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001143/0.1346, allocations: 292.9 kB / 0.6223 GB, free: 11.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/0.1358, allocations: 392.9 kB / 0.6227 GB, free: 10.82 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.1371, allocations: 325.6 kB / 0.623 GB, free: 10.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.1371, allocations: 0 / 0.623 GB, free: 10.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002897/0.14, allocations: 0.798 MB / 0.6238 GB, free: 9.695 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.1401, allocations: 8.281 kB / 0.6238 GB, free: 9.688 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.239e-05/0.1401, allocations: 4 kB / 0.6238 GB, free: 9.684 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.1402, allocations: 11.95 kB / 0.6238 GB, free: 9.672 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001644/0.1418, allocations: 191.8 kB / 0.624 GB, free: 9.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.866e-05/0.1418, allocations: 8 kB / 0.624 GB, free: 9.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009227/0.1428, allocations: 91.5 kB / 0.6241 GB, free: 9.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.765e-05/0.1429, allocations: 20 kB / 0.6241 GB, free: 9.367 MB / 298.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 (69): * Single equations (assignments): 68 * 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.0004002/0.1433, allocations: 197.8 kB / 0.6243 GB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001964/0.1435, allocations: 75.09 kB / 0.6244 GB, free: 9.09 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.1437, allocations: 85.64 kB / 0.6244 GB, free: 9 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.1437, allocations: 7.938 kB / 0.6245 GB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/0.1438, allocations: 0 / 0.6245 GB, free: 8.992 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003377/0.1441, allocations: 196 kB / 0.6246 GB, free: 8.781 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001581/0.1443, allocations: 19.98 kB / 0.6247 GB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009468/0.1452, allocations: 59.94 kB / 0.6247 GB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/0.1454, allocations: 35.94 kB / 0.6247 GB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004985/0.1504, allocations: 1.097 MB / 0.6258 GB, free: 7.562 MB / 298.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003956/0.1544, allocations: 1.349 MB / 0.6271 GB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001136/0.1556, allocations: 307.9 kB / 0.6274 GB, free: 5.902 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.00102/0.1566, allocations: 419 kB / 0.6278 GB, free: 5.496 MB / 298.7 MB Notification: Performance of Backend: time 6.61e-07/0.1566, allocations: 0 / 0.6278 GB, free: 5.496 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002587/0.1592, allocations: 0.4991 MB / 0.6283 GB, free: 4.992 MB / 298.7 MB Notification: Performance of SimCode: time 0.003811/0.1631, allocations: 2.036 MB / 0.6303 GB, free: 2.91 MB / 298.7 MB Notification: Performance of Templates: time 0.02607/0.1892, allocations: 8.56 MB / 0.6387 GB, free: 10.4 MB / 314.7 MB