Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction.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.UnitDeduction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Asec.y|PI.x|PID.D.x|PID.I.y|PID1.D.x|PID1.I.y|Vsec.y|Wsec.y|derivative.x|firstOrder.y|inertia.phi|inertia.w|integrator.y|limIntegrator.y|secondOrder.y|secondOrder.yd",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.UnitDeduction") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002637/0.002636, allocations: 352.3 kB / 15.95 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.683/3.683, 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.003684/0.003684, allocations: 229.1 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.5294/0.5294, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004597, allocations: 12 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09141, allocations: 48.7 MB / 0.6067 GB, free: 4.664 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.UnitDeduction): time 0.006066/0.09755, allocations: 3.155 MB / 0.6098 GB, free: 1.484 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.2888/0.3864, allocations: 1.078 MB / 0.6109 GB, free: 88.58 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007505/0.3872, allocations: 19.59 kB / 0.6109 GB, free: 88.58 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.3874, allocations: 46.31 kB / 0.6109 GB, free: 88.57 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.3885, allocations: 148.7 kB / 0.6111 GB, free: 88.5 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001902/0.3904, allocations: 315.6 kB / 0.6114 GB, free: 88.5 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002162/0.3926, allocations: 0.7096 MB / 0.6121 GB, free: 88.37 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.3934, allocations: 197.6 kB / 0.6123 GB, free: 88.36 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008797/0.3943, allocations: 239.8 kB / 0.6125 GB, free: 88.29 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005802/0.3949, allocations: 234.6 kB / 0.6127 GB, free: 88.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.395, allocations: 21.16 kB / 0.6127 GB, free: 88.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001412/0.3952, allocations: 22.69 kB / 0.6128 GB, free: 88.21 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.3954, allocations: 91.61 kB / 0.6128 GB, free: 88.19 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002032/0.3956, allocations: 125.3 kB / 0.613 GB, free: 88.14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.3968, allocations: 0.4926 MB / 0.6134 GB, free: 88.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.215e-06/0.3968, allocations: 0.6562 kB / 0.6134 GB, free: 88.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.3968, allocations: 0 / 0.6134 GB, free: 88.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.3969, allocations: 4.438 kB / 0.6134 GB, free: 88.09 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.003005/0.3999, allocations: 0.8755 MB / 0.6143 GB, free: 87.52 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.969e-05/0.4, allocations: 8.281 kB / 0.6143 GB, free: 87.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000278/0.4003, allocations: 78.47 kB / 0.6144 GB, free: 87.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/0.4014, allocations: 442.1 kB / 0.6148 GB, free: 87.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.492e-05/0.4015, allocations: 40.19 kB / 0.6148 GB, free: 87.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.4017, allocations: 58.7 kB / 0.6149 GB, free: 87.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/0.4037, allocations: 488.6 kB / 0.6154 GB, free: 87.14 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.4038, allocations: 0 / 0.6154 GB, free: 87.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.286e-05/0.4039, allocations: 19.98 kB / 0.6154 GB, free: 87.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.4039, allocations: 10.72 kB / 0.6154 GB, free: 87.14 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001754/0.4057, allocations: 351 kB / 0.6157 GB, free: 87.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007349/0.4131, allocations: 1.776 MB / 0.6175 GB, free: 86.53 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002323/0.4154, allocations: 469.8 kB / 0.6179 GB, free: 86.47 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008241/0.4163, allocations: 182.8 kB / 0.6181 GB, free: 86.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.123e-05/0.4163, allocations: 4.031 kB / 0.6181 GB, free: 86.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.4164, allocations: 41.94 kB / 0.6181 GB, free: 86.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=38): time 4.719e-06/0.4164, allocations: 0 / 0.6181 GB, free: 86.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=38): time 0.002822/0.4192, allocations: 0.5506 MB / 0.6187 GB, free: 86.35 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.432e-05/0.4193, allocations: 110.1 kB / 0.6188 GB, free: 86.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.4204, allocations: 450.1 kB / 0.6192 GB, free: 86.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.1e-05/0.4205, allocations: 37.61 kB / 0.6192 GB, free: 86.07 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004091/0.4209, allocations: 310.5 kB / 0.6195 GB, free: 85.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.4212, allocations: 147.6 kB / 0.6197 GB, free: 85.83 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.4213, allocations: 11.44 kB / 0.6197 GB, free: 85.83 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4214, allocations: 367.6 kB / 0.62 GB, free: 85.52 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009751/0.4224, allocations: 173.6 kB / 0.6202 GB, free: 85.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001063/0.4235, allocations: 295.4 kB / 0.6205 GB, free: 85.38 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001025/0.4246, allocations: 207.2 kB / 0.6207 GB, free: 85.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-06/0.4246, allocations: 2.531 kB / 0.6207 GB, free: 85.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00256/0.4272, allocations: 0.562 MB / 0.6212 GB, free: 85.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.291e-05/0.4272, allocations: 6.875 kB / 0.6212 GB, free: 85.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.4273, allocations: 2.75 kB / 0.6212 GB, free: 85.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.712e-05/0.4273, allocations: 11.53 kB / 0.6212 GB, free: 85.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001273/0.4286, allocations: 128.6 kB / 0.6214 GB, free: 85.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.38e-05/0.4286, allocations: 11.03 kB / 0.6214 GB, free: 85.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009171/0.4296, allocations: 58.72 kB / 0.6214 GB, free: 85.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.088e-05/0.4297, allocations: 19.12 kB / 0.6215 GB, free: 85.05 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (63): * Single equations (assignments): 63 * 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.0004666/0.4301, allocations: 180.5 kB / 0.6216 GB, free: 84.89 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.4304, allocations: 59.45 kB / 0.6217 GB, free: 84.86 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000213/0.4306, allocations: 66.3 kB / 0.6217 GB, free: 84.81 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.152e-05/0.4306, allocations: 5.125 kB / 0.6218 GB, free: 84.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/0.4307, allocations: 5.328 kB / 0.6218 GB, free: 84.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000326/0.431, allocations: 160.2 kB / 0.6219 GB, free: 84.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/0.4312, allocations: 12.69 kB / 0.6219 GB, free: 84.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008236/0.432, allocations: 35.92 kB / 0.622 GB, free: 84.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/0.4322, allocations: 35.02 kB / 0.622 GB, free: 84.64 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004354/0.4366, allocations: 0.7254 MB / 0.6227 GB, free: 84.32 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003117/0.4397, allocations: 0.8794 MB / 0.6236 GB, free: 83.82 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009289/0.4407, allocations: 177.7 kB / 0.6237 GB, free: 83.76 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000862/0.4416, allocations: 307.9 kB / 0.624 GB, free: 83.61 MB / 362.7 MB Notification: Performance of Backend: time 9.42e-07/0.4416, allocations: 0 / 0.624 GB, free: 83.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00233/0.4439, allocations: 365.2 kB / 0.6244 GB, free: 83.45 MB / 362.7 MB Notification: Performance of SimCode: time 0.004812/0.4488, allocations: 2.055 MB / 0.6264 GB, free: 82.05 MB / 362.7 MB Notification: Performance of Templates: time 0.02118/0.47, allocations: 6.386 MB / 0.6326 GB, free: 80.77 MB / 362.7 MB