Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.Blocks.Continuous_InitialOutput") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002845/0.002849, allocations: 362.5 kB / 15.95 MB, free: 6.203 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 4.114/4.114, allocations: 388.9 MB / 405.6 MB, free: 9.633 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003445/0.003445, allocations: 229.2 kB / 451 MB, free: 145 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5134/0.5134, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004996/0.0004999, allocations: 8 kB / 0.6265 GB, free: 96.56 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.108, allocations: 54.87 MB / 0.6801 GB, free: 41.7 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4785/0.5866, allocations: 90.15 MB / 0.7681 GB, free: 11.31 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.5869, allocations: 70.95 kB / 0.7682 GB, free: 11.28 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1352/0.7221, allocations: 27.63 MB / 0.7952 GB, free: 3.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.7221, allocations: 0 / 0.7952 GB, free: 3.871 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.917e-05/0.7222, allocations: 23.88 kB / 0.7952 GB, free: 3.848 MB / 378.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.003824/0.7261, allocations: 1.048 MB / 0.7962 GB, free: 2.797 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.7261, allocations: 8.031 kB / 0.7962 GB, free: 2.789 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003175/0.7265, allocations: 86.97 kB / 0.7963 GB, free: 2.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002016/0.7285, allocations: 0.5682 MB / 0.7969 GB, free: 2.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.7286, allocations: 30.69 kB / 0.7969 GB, free: 2.145 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.7288, allocations: 56.3 kB / 0.7969 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.7305, allocations: 0.5376 MB / 0.7975 GB, free: 1.676 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.207e-05/0.7306, allocations: 7.906 kB / 0.7975 GB, free: 1.668 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.912e-05/0.7307, allocations: 14.5 kB / 0.7975 GB, free: 1.664 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.475e-05/0.7307, allocations: 8 kB / 0.7975 GB, free: 1.656 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.7325, allocations: 459.2 kB / 0.7979 GB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005621/0.7382, allocations: 1.923 MB / 0.7998 GB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001894/0.7402, allocations: 0.5099 MB / 0.8003 GB, free: 15.25 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/0.7413, allocations: 263.3 kB / 0.8006 GB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.841e-05/0.7414, allocations: 11.94 kB / 0.8006 GB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.7414, allocations: 50.06 kB / 0.8006 GB, free: 14.98 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 3.838e-06/0.7414, allocations: 0 / 0.8006 GB, free: 14.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=45): time 0.004534/0.746, allocations: 1.135 MB / 0.8017 GB, free: 14.02 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.368e-05/0.7461, allocations: 118.8 kB / 0.8018 GB, free: 13.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001465/0.7476, allocations: 0.5831 MB / 0.8024 GB, free: 13.41 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000168/0.7478, allocations: 37.33 kB / 0.8024 GB, free: 13.38 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003124/0.7481, allocations: 320.5 kB / 0.8027 GB, free: 13.19 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.7484, allocations: 176.6 kB / 0.8029 GB, free: 13.04 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.973e-05/0.7485, allocations: 11.25 kB / 0.8029 GB, free: 13.04 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.7487, allocations: 383.4 kB / 0.8033 GB, free: 12.68 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001156/0.7499, allocations: 272 kB / 0.8036 GB, free: 12.48 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.7511, allocations: 370.6 kB / 0.8039 GB, free: 12.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0012/0.7523, allocations: 305.3 kB / 0.8042 GB, free: 11.96 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.7523, allocations: 0 / 0.8042 GB, free: 11.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002814/0.7551, allocations: 0.7658 MB / 0.8049 GB, free: 11.36 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.7553, allocations: 169.6 kB / 0.8051 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.7553, allocations: 4 kB / 0.8051 GB, free: 11.16 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.484e-05/0.7554, allocations: 4 kB / 0.8051 GB, free: 11.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/0.7572, allocations: 203.3 kB / 0.8053 GB, free: 10.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.661e-05/0.7573, allocations: 7.938 kB / 0.8053 GB, free: 10.95 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009382/0.7582, allocations: 86.05 kB / 0.8054 GB, free: 10.88 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.7583, allocations: 23.3 kB / 0.8054 GB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.7583, allocations: 4 kB / 0.8054 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002358/0.7607, allocations: 0.6707 MB / 0.8061 GB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7607, allocations: 3.984 kB / 0.8061 GB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.397e-06/0.7607, allocations: 8 kB / 0.8061 GB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/0.7625, allocations: 194.5 kB / 0.8063 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.7625, allocations: 4 kB / 0.8063 GB, free: 10.16 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/0.7634, allocations: 88 kB / 0.8064 GB, free: 10.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.7635, allocations: 23.44 kB / 0.8064 GB, free: 10.06 MB / 394.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.0004888/0.764, allocations: 276.5 kB / 0.8067 GB, free: 9.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000227/0.7642, allocations: 71.16 kB / 0.8067 GB, free: 9.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000207/0.7644, allocations: 80.7 kB / 0.8068 GB, free: 9.711 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.209e-05/0.7645, allocations: 4 kB / 0.8068 GB, free: 9.707 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.027e-05/0.7645, allocations: 3.984 kB / 0.8068 GB, free: 9.703 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.7645, allocations: 7.891 kB / 0.8068 GB, free: 9.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003021/0.7675, allocations: 1.228 MB / 0.808 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.7675, allocations: 0 / 0.808 GB, free: 8.664 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001314/0.7689, allocations: 113 kB / 0.8081 GB, free: 8.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.7689, allocations: 12 kB / 0.8081 GB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.955e-05/0.769, allocations: 18.45 kB / 0.8081 GB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.769, allocations: 3.984 kB / 0.8081 GB, free: 8.531 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.425e-05/0.769, allocations: 7.984 kB / 0.8082 GB, free: 8.523 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003481/0.7725, allocations: 1.176 MB / 0.8093 GB, free: 7.543 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003467/0.7729, allocations: 185.2 kB / 0.8095 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.773, allocations: 23.73 kB / 0.8095 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009333/0.774, allocations: 58.84 kB / 0.8096 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/0.7741, allocations: 39.06 kB / 0.8096 GB, free: 7.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.248e-05/0.7742, allocations: 15.98 kB / 0.8096 GB, free: 7.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001591/0.7758, allocations: 418.2 kB / 0.81 GB, free: 6.934 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.82e-07/0.7759, allocations: 3.938 kB / 0.81 GB, free: 6.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002469/0.7783, allocations: 222 kB / 0.8102 GB, free: 6.734 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (45): * Single equations (assignments): 45 * 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.0007454/0.7791, allocations: 162.1 kB / 0.8104 GB, free: 6.578 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.005959/0.7851, allocations: 0.9642 MB / 0.8113 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.7852, allocations: 0 / 0.8113 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001762/0.787, allocations: 305.7 kB / 0.8116 GB, free: 5.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.7888, allocations: 163.3 kB / 0.8118 GB, free: 5.484 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003912/0.7927, allocations: 1.627 MB / 0.8134 GB, free: 3.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007169/0.7934, allocations: 0.9453 MB / 0.8143 GB, free: 2.973 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009262/0.7944, allocations: 144.5 kB / 0.8144 GB, free: 2.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003042/0.7947, allocations: 46.73 kB / 0.8145 GB, free: 2.789 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.7947, allocations: 7.938 kB / 0.8145 GB, free: 2.781 MB / 394.7 MB Notification: Performance of Templates: time 0.02098/0.8157, allocations: 6.981 MB / 0.8213 GB, free: 11.87 MB / 410.7 MB