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.003899/0.003899, allocations: 349.2 kB / 15.94 MB, free: 6.219 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.345/3.345, allocations: 341.5 MB / 358.2 MB, free: 28.75 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.003436/0.003435, allocations: 220 kB / 397.8 MB, free: 6.156 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.4762/0.4762, allocations: 76.1 MB / 0.5014 GB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.000469, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08188/0.08238, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4762/0.5586, allocations: 83.43 MB / 0.6882 GB, free: 4.195 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/0.559, allocations: 72.66 kB / 0.6883 GB, free: 4.16 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06894/0.628, allocations: 14.63 MB / 0.7026 GB, free: 7.758 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.628, allocations: 0 / 0.7026 GB, free: 7.758 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.558e-05/0.6281, allocations: 20 kB / 0.7026 GB, free: 7.738 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.003695/0.6318, allocations: 1.055 MB / 0.7036 GB, free: 6.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6319, allocations: 8.031 kB / 0.7036 GB, free: 6.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002896/0.6322, allocations: 91 kB / 0.7037 GB, free: 6.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001859/0.6341, allocations: 0.5559 MB / 0.7042 GB, free: 6.055 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.6342, allocations: 39.05 kB / 0.7043 GB, free: 6.031 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.6343, allocations: 49.19 kB / 0.7043 GB, free: 6 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001869/0.6362, allocations: 0.5599 MB / 0.7049 GB, free: 5.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.6363, allocations: 7.906 kB / 0.7049 GB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.585e-05/0.6364, allocations: 20.44 kB / 0.7049 GB, free: 5.527 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.6364, allocations: 11.94 kB / 0.7049 GB, free: 5.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.6383, allocations: 477.8 kB / 0.7054 GB, free: 5.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005603/0.6439, allocations: 1.963 MB / 0.7073 GB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002068/0.646, allocations: 0.5805 MB / 0.7079 GB, free: 3.012 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.6471, allocations: 266.5 kB / 0.7081 GB, free: 2.809 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.189e-05/0.6472, allocations: 7.938 kB / 0.7081 GB, free: 2.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.919e-05/0.6472, allocations: 54.31 kB / 0.7082 GB, free: 2.742 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 3.517e-06/0.6472, allocations: 0 / 0.7082 GB, free: 2.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.004324/0.6516, allocations: 1.152 MB / 0.7093 GB, free: 1.758 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001172/0.6517, allocations: 165.3 kB / 0.7095 GB, free: 1.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.6531, allocations: 0.5962 MB / 0.71 GB, free: 1.082 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.406e-05/0.6532, allocations: 36.52 kB / 0.7101 GB, free: 1.047 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003022/0.6535, allocations: 318.1 kB / 0.7104 GB, free: 0.8594 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.6537, allocations: 173.9 kB / 0.7105 GB, free: 0.7109 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.782e-05/0.6538, allocations: 12.19 kB / 0.7106 GB, free: 0.707 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.654, allocations: 384.7 kB / 0.7109 GB, free: 360 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00112/0.6551, allocations: 276.5 kB / 0.7112 GB, free: 156 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.6564, allocations: 395.5 kB / 0.7116 GB, free: 15.8 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001178/0.6576, allocations: 308.7 kB / 0.7119 GB, free: 15.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.6576, allocations: 3.953 kB / 0.7119 GB, free: 15.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002835/0.6605, allocations: 0.7748 MB / 0.7126 GB, free: 14.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.6605, allocations: 7.984 kB / 0.7126 GB, free: 14.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/0.6606, allocations: 4 kB / 0.7126 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.026e-05/0.6606, allocations: 8 kB / 0.7126 GB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.6618, allocations: 152 kB / 0.7128 GB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.687e-05/0.6619, allocations: 4 kB / 0.7128 GB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.6629, allocations: 97.84 kB / 0.7129 GB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.569e-05/0.663, allocations: 19.25 kB / 0.7129 GB, free: 14.71 MB / 346.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.0004712/0.6635, allocations: 199 kB / 0.7131 GB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.6637, allocations: 71.11 kB / 0.7132 GB, free: 14.47 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002084/0.6639, allocations: 81.39 kB / 0.7132 GB, free: 14.43 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.664, allocations: 11.94 kB / 0.7132 GB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/0.664, allocations: 7.984 kB / 0.7132 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.664, allocations: 0 / 0.7132 GB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.6659, allocations: 0.817 MB / 0.714 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.6659, allocations: 0 / 0.714 GB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001311/0.6672, allocations: 119.2 kB / 0.7142 GB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.307e-05/0.6672, allocations: 4 kB / 0.7142 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/0.6673, allocations: 14.23 kB / 0.7142 GB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.268e-06/0.6673, allocations: 4 kB / 0.7142 GB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.6674, allocations: 0 / 0.7142 GB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003669/0.671, allocations: 1.198 MB / 0.7154 GB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004212/0.6715, allocations: 193.5 kB / 0.7155 GB, free: 12.4 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001419/0.6717, allocations: 14.44 kB / 0.7155 GB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001029/0.6727, allocations: 62.62 kB / 0.7156 GB, free: 12.34 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.6729, allocations: 39.25 kB / 0.7156 GB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/0.6729, allocations: 11.94 kB / 0.7157 GB, free: 12.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.674, allocations: 429.5 kB / 0.7161 GB, free: 11.96 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.674, allocations: 0 / 0.7161 GB, free: 11.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009245/0.6749, allocations: 116.7 kB / 0.7162 GB, free: 11.87 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * 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 (43): * Single equations (assignments): 43 * 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.0002482/0.6752, allocations: 130.9 kB / 0.7163 GB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002462/0.6777, allocations: 0.6092 MB / 0.7169 GB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.974e-06/0.6777, allocations: 4 kB / 0.7169 GB, free: 11.26 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001171/0.6789, allocations: 294 kB / 0.7172 GB, free: 11.03 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00168/0.6806, allocations: 166 kB / 0.7173 GB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.6849, allocations: 1.647 MB / 0.7189 GB, free: 9.352 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.6856, allocations: 0.9449 MB / 0.7199 GB, free: 8.387 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0007748/0.6864, allocations: 108.5 kB / 0.72 GB, free: 8.281 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002842/0.6867, allocations: 39.44 kB / 0.72 GB, free: 8.242 MB / 346.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6867, allocations: 0 / 0.72 GB, free: 8.242 MB / 346.7 MB Notification: Performance of Templates: time 0.02013/0.7069, allocations: 6.236 MB / 0.7261 GB, free: 2.07 MB / 346.7 MB