Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters.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: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01127/0.01127, allocations: 164.3 kB / 15.11 MB, free: 5.934 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 1.611/1.611, allocations: 170.8 MB / 186.6 MB, free: 1.121 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003/0.003, allocations: 107.4 kB / 226.2 MB, free: 10.09 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.4532/0.4532, allocations: 38.05 MB / 303.7 MB, free: 42.34 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 12 kB / 363 MB, free: 5.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1061, allocations: 48.71 MB / 411.7 MB, free: 4.715 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4385/0.5446, allocations: 78.58 MB / 490.3 MB, free: 9.098 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002223/0.5449, allocations: 62.78 kB / 490.3 MB, free: 9.066 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08903/0.6339, allocations: 18.34 MB / 0.4967 GB, free: 9.488 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.634, allocations: 0 / 0.4967 GB, free: 9.488 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.006e-05/0.6341, allocations: 16 kB / 0.4968 GB, free: 9.473 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.004181/0.6383, allocations: 1.14 MB / 0.4979 GB, free: 8.332 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.6384, allocations: 12.03 kB / 0.4979 GB, free: 8.32 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003385/0.6387, allocations: 88.02 kB / 0.498 GB, free: 8.254 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003121/0.639, allocations: 102.2 kB / 0.4981 GB, free: 8.156 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002736/0.6418, allocations: 0.6012 MB / 0.4986 GB, free: 7.59 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.425e-05/0.6419, allocations: 33.94 kB / 0.4987 GB, free: 7.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001806/0.6421, allocations: 49.16 kB / 0.4987 GB, free: 7.539 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.6445, allocations: 0.6331 MB / 0.4993 GB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.6445, allocations: 0 / 0.4993 GB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.6447, allocations: 20.31 kB / 0.4994 GB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/0.6447, allocations: 8 kB / 0.4994 GB, free: 7 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.6472, allocations: 0.5379 MB / 0.4999 GB, free: 6.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004586/0.6518, allocations: 1.478 MB / 0.5013 GB, free: 5.379 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/0.6556, allocations: 0.9661 MB / 0.5023 GB, free: 4.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.11e-05/0.6557, allocations: 12.06 kB / 0.5023 GB, free: 4.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.6558, allocations: 39.94 kB / 0.5023 GB, free: 4.441 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 2.695e-06/0.6558, allocations: 0 / 0.5023 GB, free: 4.441 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.004638/0.6604, allocations: 0.9415 MB / 0.5033 GB, free: 3.664 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000145/0.6606, allocations: 132.5 kB / 0.5034 GB, free: 3.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008364/0.6615, allocations: 421.8 kB / 0.5038 GB, free: 3.164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001161/0.6616, allocations: 33.61 kB / 0.5038 GB, free: 3.133 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002958/0.6619, allocations: 298.5 kB / 0.5041 GB, free: 2.953 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002287/0.6622, allocations: 162.7 kB / 0.5043 GB, free: 2.812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-05/0.6622, allocations: 15.56 kB / 0.5043 GB, free: 2.805 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002241/0.6625, allocations: 372.2 kB / 0.5046 GB, free: 2.457 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/0.6639, allocations: 279.7 kB / 0.5049 GB, free: 2.246 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001461/0.6654, allocations: 329.8 kB / 0.5052 GB, free: 1.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.6667, allocations: 283.9 kB / 0.5055 GB, free: 1.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.6668, allocations: 0 / 0.5055 GB, free: 1.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003113/0.6699, allocations: 0.7091 MB / 0.5062 GB, free: 1.195 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.6699, allocations: 6.969 kB / 0.5062 GB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.67, allocations: 0 / 0.5062 GB, free: 1.191 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.67, allocations: 4 kB / 0.5062 GB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001764/0.6718, allocations: 186.4 kB / 0.5064 GB, free: 1.008 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.678e-05/0.6718, allocations: 4 kB / 0.5064 GB, free: 1.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001009/0.6728, allocations: 98.73 kB / 0.5065 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/0.6729, allocations: 19.88 kB / 0.5065 GB, free: 0.8984 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (54): * Single equations (assignments): 54 * 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.0004211/0.6733, allocations: 178.9 kB / 0.5066 GB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002048/0.6736, allocations: 67.16 kB / 0.5067 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00272/0.6763, allocations: 0.6288 MB / 0.5073 GB, free: 204 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.6763, allocations: 8 kB / 0.5073 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.6764, allocations: 0 / 0.5073 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6764, allocations: 0 / 0.5073 GB, free: 196 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/0.6809, allocations: 1.324 MB / 0.5086 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.681, allocations: 4 kB / 0.5086 GB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/0.6824, allocations: 139.8 kB / 0.5088 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.429e-05/0.6824, allocations: 4.234 kB / 0.5088 GB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.978e-05/0.6825, allocations: 18.55 kB / 0.5088 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.6825, allocations: 0 / 0.5088 GB, free: 14.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.6825, allocations: 7.953 kB / 0.5088 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004736/0.6873, allocations: 1.22 MB / 0.51 GB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004061/0.6877, allocations: 183.2 kB / 0.5102 GB, free: 13.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.6879, allocations: 15.8 kB / 0.5102 GB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009656/0.6889, allocations: 83.45 kB / 0.5103 GB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001443/0.689, allocations: 39.81 kB / 0.5103 GB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/0.6891, allocations: 18.98 kB / 0.5103 GB, free: 13.65 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005966/0.6897, allocations: 328.9 kB / 0.5106 GB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6897, allocations: 0 / 0.5106 GB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000683/0.6904, allocations: 119.4 kB / 0.5107 GB, free: 13.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.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 (46): * Single equations (assignments): 46 * 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.005214/0.6956, allocations: 1.849 MB / 0.5125 GB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00309/0.6988, allocations: 0.6271 MB / 0.5132 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/0.6988, allocations: 4 kB / 0.5132 GB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/0.7003, allocations: 336 kB / 0.5135 GB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001197/0.7015, allocations: 124.4 kB / 0.5136 GB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/0.7152, allocations: 4.215 MB / 0.5177 GB, free: 6.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006378/0.7159, allocations: 0.8983 MB / 0.5186 GB, free: 5.246 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006073/0.7165, allocations: 76.53 kB / 0.5187 GB, free: 5.172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005628/0.7171, allocations: 227.3 kB / 0.5189 GB, free: 4.949 MB / 362.7 MB Notification: Performance of SimCode: time 1.103e-06/0.7171, allocations: 0 / 0.5189 GB, free: 4.949 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05573/0.7728, allocations: 11 MB / 0.5296 GB, free: 10.04 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000253/0.7731, allocations: 165.4 kB / 0.5298 GB, free: 9.805 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.825/3.598, allocations: 0 / 0.5298 GB, free: 9.805 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat