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.002742/0.002741, allocations: 349.9 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.554/3.554, allocations: 341.5 MB / 358.2 MB, free: 28.62 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.003546/0.003546, allocations: 218.1 kB / 397.8 MB, free: 6.012 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.5147/0.5147, allocations: 76.1 MB / 0.5014 GB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004816, allocations: 8 kB / 0.5592 GB, free: 60.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1026, allocations: 48.71 MB / 0.6067 GB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4904/0.5931, allocations: 82.44 MB / 0.6872 GB, free: 5.324 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.5934, allocations: 71.84 kB / 0.6873 GB, free: 5.289 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06475/0.6582, allocations: 14.2 MB / 0.7012 GB, free: 9.344 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6582, allocations: 0 / 0.7012 GB, free: 9.344 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.274e-05/0.6583, allocations: 15.94 kB / 0.7012 GB, free: 9.328 MB / 330.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.00277/0.6611, allocations: 0.9159 MB / 0.7021 GB, free: 8.406 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.6612, allocations: 16.03 kB / 0.7021 GB, free: 8.391 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002532/0.6614, allocations: 79.11 kB / 0.7022 GB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001285/0.6627, allocations: 484.6 kB / 0.7026 GB, free: 7.863 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.06e-05/0.6628, allocations: 36.38 kB / 0.7027 GB, free: 7.844 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001475/0.663, allocations: 58.67 kB / 0.7027 GB, free: 7.805 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.6645, allocations: 0.4928 MB / 0.7032 GB, free: 7.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.851e-05/0.6645, allocations: 3.906 kB / 0.7032 GB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.441e-05/0.6646, allocations: 19.12 kB / 0.7032 GB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.977e-05/0.6646, allocations: 16 kB / 0.7032 GB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.6659, allocations: 355.9 kB / 0.7036 GB, free: 7.164 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005289/0.6712, allocations: 1.784 MB / 0.7053 GB, free: 5.664 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001739/0.673, allocations: 476 kB / 0.7058 GB, free: 5.301 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006218/0.6736, allocations: 184.4 kB / 0.706 GB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.112e-05/0.6737, allocations: 4 kB / 0.706 GB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.6737, allocations: 33.94 kB / 0.706 GB, free: 5.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=38): time 3.607e-06/0.6737, allocations: 4 kB / 0.706 GB, free: 5.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=38): time 0.002157/0.6759, allocations: 0.5504 MB / 0.7065 GB, free: 4.691 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.835e-05/0.676, allocations: 140.4 kB / 0.7067 GB, free: 4.523 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001006/0.677, allocations: 455.9 kB / 0.7071 GB, free: 4.168 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.884e-05/0.6771, allocations: 33.39 kB / 0.7071 GB, free: 4.133 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002823/0.6774, allocations: 314.7 kB / 0.7074 GB, free: 3.918 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001805/0.6776, allocations: 151.5 kB / 0.7076 GB, free: 3.789 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.6777, allocations: 7.375 kB / 0.7076 GB, free: 3.789 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6778, allocations: 363.7 kB / 0.7079 GB, free: 3.449 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.6785, allocations: 174.4 kB / 0.7081 GB, free: 3.328 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008213/0.6794, allocations: 315.1 kB / 0.7084 GB, free: 3.031 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.6801, allocations: 200.7 kB / 0.7086 GB, free: 2.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6801, allocations: 0 / 0.7086 GB, free: 2.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001906/0.6821, allocations: 0.5628 MB / 0.7091 GB, free: 2.473 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.444e-05/0.6821, allocations: 4 kB / 0.7091 GB, free: 2.469 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.6821, allocations: 4 kB / 0.7091 GB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.858e-05/0.6822, allocations: 8 kB / 0.7092 GB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009409/0.6831, allocations: 123.9 kB / 0.7093 GB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.6832, allocations: 15.94 kB / 0.7093 GB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006905/0.6839, allocations: 67.19 kB / 0.7094 GB, free: 2.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/0.6839, allocations: 15.62 kB / 0.7094 GB, free: 2.254 MB / 330.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.0004161/0.6844, allocations: 180.9 kB / 0.7095 GB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001532/0.6845, allocations: 63.3 kB / 0.7096 GB, free: 2.039 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001553/0.6847, allocations: 63.66 kB / 0.7097 GB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.6847, allocations: 8 kB / 0.7097 GB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.698e-06/0.6847, allocations: 4 kB / 0.7097 GB, free: 2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.999e-06/0.6848, allocations: 3.984 kB / 0.7097 GB, free: 1.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001097/0.6859, allocations: 0.5383 MB / 0.7102 GB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.6859, allocations: 0 / 0.7102 GB, free: 1.531 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009906/0.6869, allocations: 95.25 kB / 0.7103 GB, free: 1.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.318e-05/0.6869, allocations: 3.953 kB / 0.7103 GB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.687, allocations: 14.56 kB / 0.7103 GB, free: 1.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.395e-06/0.687, allocations: 4 kB / 0.7103 GB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.687, allocations: 0 / 0.7103 GB, free: 1.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00222/0.6892, allocations: 0.7915 MB / 0.7111 GB, free: 0.7812 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.6896, allocations: 162.8 kB / 0.7112 GB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.6897, allocations: 10.58 kB / 0.7113 GB, free: 0.6172 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006611/0.6904, allocations: 39.59 kB / 0.7113 GB, free: 0.582 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/0.6905, allocations: 39.36 kB / 0.7113 GB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.6905, allocations: 11.75 kB / 0.7113 GB, free: 0.5391 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005519/0.6911, allocations: 316.7 kB / 0.7116 GB, free: 304 kB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6911, allocations: 0 / 0.7116 GB, free: 304 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007307/0.6919, allocations: 129.4 kB / 0.7118 GB, free: 188 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 16 (integrator.y,inertia.phi,inertia.w,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,PI.x,PID.I.y,PID.D.x,PID1.I.y,PID1.D.x,Wsec.y,Vsec.y,Asec.y) * 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 (38): * Single equations (assignments): 38 * 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.0001889/0.6921, allocations: 114.9 kB / 0.7119 GB, free: 68 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.6936, allocations: 421.6 kB / 0.7123 GB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.6936, allocations: 0 / 0.7123 GB, free: 15.76 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006724/0.6943, allocations: 197.6 kB / 0.7125 GB, free: 15.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00167/0.696, allocations: 159.8 kB / 0.7126 GB, free: 15.49 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.6998, allocations: 1.553 MB / 0.7141 GB, free: 14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006347/0.7005, allocations: 0.8907 MB / 0.715 GB, free: 13.09 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005743/0.7011, allocations: 64.23 kB / 0.7151 GB, free: 13.02 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002039/0.7013, allocations: 35.44 kB / 0.7151 GB, free: 12.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.7013, allocations: 0 / 0.7151 GB, free: 12.98 MB / 346.7 MB Notification: Performance of Templates: time 0.01838/0.7197, allocations: 5.289 MB / 0.7203 GB, free: 7.754 MB / 346.7 MB