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: "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialOutput,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Blocks_Continuous_InitialOutput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.01093/0.01093, allocations: 177.8 kB / 15.12 MB, free: 5.93 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 2.031/2.031, allocations: 194.5 MB / 210.3 MB, free: 7.609 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.002429/0.002429, allocations: 120.7 kB / 255.6 MB, free: 10.23 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2483/0.2483, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007503/0.0007503, allocations: 9.344 kB / 406.3 MB, free: 51.85 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1225/0.1233, allocations: 54.87 MB / 461.1 MB, free: 3.203 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4777/0.6011, allocations: 90.15 MB / 0.5384 GB, free: 21.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002527/0.6014, allocations: 67.33 kB / 0.5384 GB, free: 21.37 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1281/0.7295, allocations: 27.65 MB / 0.5654 GB, free: 17.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7295, allocations: 4 kB / 0.5654 GB, free: 17.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.363e-05/0.7297, allocations: 27.47 kB / 0.5655 GB, free: 17.69 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.00415/0.7338, allocations: 1.061 MB / 0.5665 GB, free: 16.93 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.657e-05/0.7339, allocations: 7.719 kB / 0.5665 GB, free: 16.93 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004542/0.7344, allocations: 79.88 kB / 0.5666 GB, free: 16.88 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004179/0.7348, allocations: 82 kB / 0.5667 GB, free: 16.84 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/0.7368, allocations: 0.5653 MB / 0.5672 GB, free: 16.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.7369, allocations: 30.5 kB / 0.5672 GB, free: 16.45 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/0.737, allocations: 48.5 kB / 0.5673 GB, free: 16.45 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.7386, allocations: 0.5408 MB / 0.5678 GB, free: 16.24 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/0.7386, allocations: 7.906 kB / 0.5678 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.951e-05/0.7387, allocations: 17.88 kB / 0.5678 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.7387, allocations: 11.59 kB / 0.5678 GB, free: 16.23 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001682/0.7404, allocations: 450 kB / 0.5683 GB, free: 16.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004815/0.7453, allocations: 1.927 MB / 0.5702 GB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001651/0.747, allocations: 0.507 MB / 0.5706 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.769e-05/0.7471, allocations: 4.219 kB / 0.5707 GB, free: 14.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.7471, allocations: 49.55 kB / 0.5707 GB, free: 14.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.896e-06/0.7471, allocations: 0 / 0.5707 GB, free: 14.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=45): time 0.003979/0.7511, allocations: 1.134 MB / 0.5718 GB, free: 14.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.7512, allocations: 110.7 kB / 0.5719 GB, free: 14.28 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.7523, allocations: 0.5219 MB / 0.5724 GB, free: 14.08 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.283e-05/0.7525, allocations: 33.33 kB / 0.5725 GB, free: 14.05 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002505/0.7527, allocations: 327.2 kB / 0.5728 GB, free: 13.89 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/0.7529, allocations: 169.5 kB / 0.5729 GB, free: 13.77 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.982e-05/0.753, allocations: 14.69 kB / 0.5729 GB, free: 13.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001216/0.7531, allocations: 379.7 kB / 0.5733 GB, free: 13.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001032/0.7542, allocations: 269.6 kB / 0.5736 GB, free: 13.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001057/0.7552, allocations: 373.5 kB / 0.5739 GB, free: 13.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001083/0.7563, allocations: 309.8 kB / 0.5742 GB, free: 13.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.7564, allocations: 0 / 0.5742 GB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002541/0.7589, allocations: 0.7645 MB / 0.575 GB, free: 13 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002323/0.7592, allocations: 1.052 MB / 0.576 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.7592, allocations: 3.812 kB / 0.576 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/0.7592, allocations: 7.812 kB / 0.576 GB, free: 11.89 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001792/0.761, allocations: 191 kB / 0.5762 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.731e-05/0.7611, allocations: 7.75 kB / 0.5762 GB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009852/0.7621, allocations: 89 kB / 0.5763 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.468e-05/0.7622, allocations: 22.47 kB / 0.5763 GB, free: 11.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/0.7622, allocations: 5.656 kB / 0.5763 GB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00222/0.7644, allocations: 0.6761 MB / 0.577 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.7644, allocations: 4.281 kB / 0.577 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.7645, allocations: 7.781 kB / 0.577 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/0.7661, allocations: 186.2 kB / 0.5771 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.7662, allocations: 7.75 kB / 0.5772 GB, free: 11.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009242/0.7671, allocations: 84.62 kB / 0.5772 GB, free: 11.6 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-05/0.7672, allocations: 23.05 kB / 0.5773 GB, free: 11.6 MB / 378.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.0004708/0.7677, allocations: 285.7 kB / 0.5775 GB, free: 11.38 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.7679, allocations: 69.91 kB / 0.5776 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002144/0.7681, allocations: 78.73 kB / 0.5777 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.7681, allocations: 3.875 kB / 0.5777 GB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/0.7681, allocations: 7.875 kB / 0.5777 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.067e-06/0.7681, allocations: 3.984 kB / 0.5777 GB, free: 11.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.7708, allocations: 1.232 MB / 0.5789 GB, free: 10.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.7709, allocations: 4.062 kB / 0.5789 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/0.7722, allocations: 108.4 kB / 0.579 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.171e-05/0.7722, allocations: 3.844 kB / 0.579 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-05/0.7723, allocations: 14.95 kB / 0.579 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.614e-06/0.7723, allocations: 7.797 kB / 0.579 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.119e-06/0.7723, allocations: 11.81 kB / 0.579 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003278/0.7756, allocations: 1.22 MB / 0.5802 GB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004724/0.7761, allocations: 188.2 kB / 0.5804 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.7763, allocations: 14 kB / 0.5804 GB, free: 9.945 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009645/0.7772, allocations: 62.55 kB / 0.5805 GB, free: 9.922 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001783/0.7774, allocations: 42.69 kB / 0.5805 GB, free: 9.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.7775, allocations: 15.25 kB / 0.5805 GB, free: 9.902 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000931/0.7784, allocations: 427 kB / 0.5809 GB, free: 9.738 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.7785, allocations: 0 / 0.5809 GB, free: 9.738 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001217/0.7797, allocations: 222.4 kB / 0.5812 GB, free: 9.723 MB / 378.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.003886/0.7836, allocations: 2.096 MB / 0.5832 GB, free: 8.348 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003457/0.7871, allocations: 0.9701 MB / 0.5841 GB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.7871, allocations: 0 / 0.5841 GB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.7883, allocations: 305.2 kB / 0.5844 GB, free: 8.105 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.7896, allocations: 148 kB / 0.5846 GB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0118/0.8015, allocations: 6.198 MB / 0.5906 GB, free: 20.35 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006241/0.8021, allocations: 0.9451 MB / 0.5916 GB, free: 19.54 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000961/0.8031, allocations: 143.5 kB / 0.5917 GB, free: 19.47 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/0.8037, allocations: 237.6 kB / 0.5919 GB, free: 19.44 MB / 394.7 MB Notification: Performance of SimCode: time 1.223e-06/0.8037, allocations: 0 / 0.5919 GB, free: 19.44 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04637/0.85, allocations: 13.31 MB / 0.6049 GB, free: 13.16 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003049/0.8504, allocations: 178.6 kB / 0.6051 GB, free: 12.92 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.15/4.001, allocations: 0 / 0.6051 GB, free: 12.92 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Blocks.Continuous_InitialOutput_res.mat does not exist to compare? outputFormat=mat