Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_SteadyState.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_SteadyState,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_SteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002794/0.002799, allocations: 363.1 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 3.967/3.967, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003643/0.003642, allocations: 222.8 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.511/0.511, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004925/0.0004931, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1019/0.1024, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4741/0.5766, allocations: 89.9 MB / 0.7679 GB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/0.5769, allocations: 71.03 kB / 0.7679 GB, free: 11.44 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09748/0.6744, allocations: 19.17 MB / 0.7867 GB, free: 11.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.6744, allocations: 0 / 0.7867 GB, free: 11.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.076e-05/0.6745, allocations: 19.94 kB / 0.7867 GB, free: 11.15 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.003606/0.6782, allocations: 1.03 MB / 0.7877 GB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.741e-05/0.6782, allocations: 8.031 kB / 0.7877 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.6785, allocations: 83.06 kB / 0.7878 GB, free: 10.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.6802, allocations: 0.5444 MB / 0.7883 GB, free: 9.508 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.111e-05/0.6803, allocations: 35.38 kB / 0.7883 GB, free: 9.484 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001494/0.6804, allocations: 57.48 kB / 0.7884 GB, free: 9.445 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001759/0.6822, allocations: 0.5498 MB / 0.7889 GB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.6822, allocations: 4 kB / 0.7889 GB, free: 9.004 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7e-05/0.6823, allocations: 18.19 kB / 0.789 GB, free: 8.996 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.598e-05/0.6824, allocations: 8 kB / 0.789 GB, free: 8.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001862/0.6842, allocations: 480.1 kB / 0.7894 GB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005415/0.6897, allocations: 1.927 MB / 0.7913 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00208/0.6918, allocations: 0.5769 MB / 0.7919 GB, free: 6.527 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/0.6928, allocations: 271.2 kB / 0.7921 GB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.104e-05/0.6929, allocations: 11.8 kB / 0.7921 GB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.693, allocations: 41.92 kB / 0.7922 GB, free: 6.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=42): time 3.016e-06/0.693, allocations: 3.938 kB / 0.7922 GB, free: 6.258 MB / 378.7 MB Notification: Performance of matching and sorting (n=43): time 0.004393/0.6974, allocations: 1.164 MB / 0.7933 GB, free: 5.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.355e-05/0.6975, allocations: 132.5 kB / 0.7934 GB, free: 5.105 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.6989, allocations: 0.5997 MB / 0.794 GB, free: 4.629 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.699, allocations: 36.14 kB / 0.7941 GB, free: 4.594 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003175/0.6993, allocations: 319 kB / 0.7944 GB, free: 4.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.6996, allocations: 174.3 kB / 0.7945 GB, free: 4.262 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.6996, allocations: 7.312 kB / 0.7945 GB, free: 4.262 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/0.6999, allocations: 383.2 kB / 0.7949 GB, free: 3.906 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/0.701, allocations: 276.8 kB / 0.7952 GB, free: 3.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001276/0.7023, allocations: 370 kB / 0.7955 GB, free: 3.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001195/0.7036, allocations: 305 kB / 0.7958 GB, free: 3.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.7036, allocations: 7.984 kB / 0.7958 GB, free: 3.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003108/0.7067, allocations: 0.8036 MB / 0.7966 GB, free: 2.531 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.7069, allocations: 173.9 kB / 0.7968 GB, free: 2.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.7069, allocations: 4 kB / 0.7968 GB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003464/0.7073, allocations: 56.19 kB / 0.7968 GB, free: 2.273 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001789/0.7091, allocations: 194.6 kB / 0.797 GB, free: 2.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001986/0.7111, allocations: 1.492 MB / 0.7985 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.7123, allocations: 94.41 kB / 0.7986 GB, free: 472 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.18e-05/0.7124, allocations: 23.23 kB / 0.7986 GB, free: 452 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.7124, allocations: 4 kB / 0.7986 GB, free: 448 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002575/0.715, allocations: 0.6794 MB / 0.7993 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.7151, allocations: 7.953 kB / 0.7993 GB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.7153, allocations: 58.88 kB / 0.7993 GB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/0.717, allocations: 187.4 kB / 0.7995 GB, free: 15.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001756/0.7188, allocations: 1.49 MB / 0.8009 GB, free: 14.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.7198, allocations: 78.33 kB / 0.801 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.164e-05/0.7199, allocations: 23.92 kB / 0.801 GB, free: 14.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 (67): * Single equations (assignments): 66 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005177/0.7205, allocations: 275 kB / 0.8013 GB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.7207, allocations: 71.11 kB / 0.8014 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.7209, allocations: 87.31 kB / 0.8015 GB, free: 13.71 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.7209, allocations: 7.938 kB / 0.8015 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7209, allocations: 4 kB / 0.8015 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/0.7209, allocations: 0 / 0.8015 GB, free: 13.7 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.7228, allocations: 0.8187 MB / 0.8023 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.7228, allocations: 0 / 0.8023 GB, free: 12.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00129/0.7241, allocations: 119.4 kB / 0.8024 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.7241, allocations: 0 / 0.8024 GB, free: 12.88 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.805e-05/0.7242, allocations: 18.42 kB / 0.8024 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.54e-06/0.7242, allocations: 0 / 0.8024 GB, free: 12.87 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.7243, allocations: 7.938 kB / 0.8024 GB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00352/0.7278, allocations: 1.182 MB / 0.8036 GB, free: 11.88 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003721/0.7282, allocations: 190.1 kB / 0.8037 GB, free: 11.7 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.7283, allocations: 11.11 kB / 0.8038 GB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00102/0.7294, allocations: 74.73 kB / 0.8038 GB, free: 11.62 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.7295, allocations: 39.61 kB / 0.8039 GB, free: 11.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-05/0.7296, allocations: 15.92 kB / 0.8039 GB, free: 11.58 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.00099/0.7306, allocations: 426.5 kB / 0.8043 GB, free: 11.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.7306, allocations: 0 / 0.8043 GB, free: 11.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001121/0.7318, allocations: 201.3 kB / 0.8045 GB, free: 11.08 MB / 394.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.0002237/0.732, allocations: 115.9 kB / 0.8046 GB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004357/0.7364, allocations: 1.196 MB / 0.8058 GB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.7364, allocations: 0 / 0.8058 GB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001402/0.7378, allocations: 299 kB / 0.806 GB, free: 9.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00178/0.7397, allocations: 156.1 kB / 0.8062 GB, free: 9.621 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004322/0.744, allocations: 1.646 MB / 0.8078 GB, free: 8.059 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007535/0.7448, allocations: 0.9444 MB / 0.8087 GB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001011/0.7458, allocations: 132.5 kB / 0.8088 GB, free: 6.961 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.7462, allocations: 43.44 kB / 0.8089 GB, free: 6.918 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7462, allocations: 0 / 0.8089 GB, free: 6.918 MB / 394.7 MB Notification: Performance of Templates: time 0.02243/0.7686, allocations: 7.182 MB / 0.8159 GB, free: 15.82 MB / 410.7 MB