Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Validation.LimPIDReset,fileNamePrefix="IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007985/0.0007984, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008711/0.0008711, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9807/0.9807, allocations: 135.2 MB / 426.2 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003271/0.0003271, allocations: 11.98 kB / 0.5069 GB, free: 5.203 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1718, allocations: 82.3 MB / 0.5873 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.003841/0.1757, allocations: 3.657 MB / 0.5908 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002381/0.1781, allocations: 1.442 MB / 0.5922 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003334/0.1784, allocations: 31.81 kB / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.1786, allocations: 67.19 kB / 0.5923 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005593/0.1791, allocations: 249.7 kB / 0.5926 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001028/0.1802, allocations: 0.5165 MB / 0.5931 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000978/0.1812, allocations: 0.7782 MB / 0.5938 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004722/0.1816, allocations: 347.4 kB / 0.5942 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004391/0.1821, allocations: 378.1 kB / 0.5945 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003372/0.1824, allocations: 325.9 kB / 0.5948 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.493e-05/0.1825, allocations: 28 kB / 0.5949 GB, free: 11.26 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.29e-05/0.1826, allocations: 28 kB / 0.5949 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001191/0.1827, allocations: 143.2 kB / 0.595 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000126/0.1828, allocations: 169.1 kB / 0.5952 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006229/0.1835, allocations: 0.8068 MB / 0.596 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.1835, allocations: 0 / 0.596 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.603e-06/0.1835, allocations: 0 / 0.596 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.1835, allocations: 0 / 0.596 GB, free: 10.11 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.001941/0.1854, allocations: 1.247 MB / 0.5972 GB, free: 8.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1855, allocations: 12.03 kB / 0.5972 GB, free: 8.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001193/0.1856, allocations: 114.5 kB / 0.5973 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001508/0.1858, allocations: 122.5 kB / 0.5974 GB, free: 8.555 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.1868, allocations: 0.6996 MB / 0.5981 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.351e-05/0.1869, allocations: 79.7 kB / 0.5982 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/0.187, allocations: 75.89 kB / 0.5983 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.1881, allocations: 0.725 MB / 0.599 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.1882, allocations: 4 kB / 0.599 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.585e-05/0.1882, allocations: 24 kB / 0.599 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/0.1882, allocations: 16 kB / 0.599 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.1892, allocations: 0.5321 MB / 0.5995 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00298/0.1922, allocations: 2.287 MB / 0.6018 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.1936, allocations: 0.6544 MB / 0.6024 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.031e-05/0.1937, allocations: 8.562 kB / 0.6024 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006344/0.1943, allocations: 323.1 kB / 0.6027 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 4.659e-06/0.1943, allocations: 11.92 kB / 0.6027 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001537/0.1959, allocations: 0.7675 MB / 0.6035 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.307e-05/0.1959, allocations: 85.67 kB / 0.6036 GB, free: 2.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008478/0.1968, allocations: 0.7477 MB / 0.6043 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.062e-05/0.1968, allocations: 37.7 kB / 0.6043 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.1972, allocations: 440.5 kB / 0.6048 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001706/0.1974, allocations: 205 kB / 0.605 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.1974, allocations: 20 kB / 0.605 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1976, allocations: 330.1 kB / 0.6053 GB, free: 292 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.198, allocations: 205.2 kB / 0.6055 GB, free: 88 kB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2405/0.4385, allocations: 300.8 kB / 0.6058 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007847/0.4394, allocations: 236.2 kB / 0.606 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.4394, allocations: 2.906 kB / 0.606 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001808/0.4412, allocations: 0.6553 MB / 0.6066 GB, free: 48.47 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001446/0.4413, allocations: 0.8769 MB / 0.6075 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.4414, allocations: 6.625 kB / 0.6075 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.4414, allocations: 6.469 kB / 0.6075 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009556/0.4424, allocations: 150.8 kB / 0.6077 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.456e-05/0.4424, allocations: 3 kB / 0.6077 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007079/0.4431, allocations: 81.14 kB / 0.6077 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.315e-05/0.4432, allocations: 22.45 kB / 0.6078 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.4432, allocations: 3.344 kB / 0.6078 GB, free: 47.57 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001254/0.4445, allocations: 0.5207 MB / 0.6083 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.4445, allocations: 2.844 kB / 0.6083 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.4445, allocations: 5.5 kB / 0.6083 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000876/0.4454, allocations: 145.9 kB / 0.6084 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/0.4454, allocations: 5.625 kB / 0.6084 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006377/0.4461, allocations: 73.36 kB / 0.6085 GB, free: 47.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.952e-05/0.4461, allocations: 18.56 kB / 0.6085 GB, free: 47.54 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0004072/0.4466, allocations: 303.3 kB / 0.6088 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.4467, allocations: 91.22 kB / 0.6089 GB, free: 47.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002257/0.447, allocations: 105.6 kB / 0.609 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.447, allocations: 4.906 kB / 0.609 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.447, allocations: 3.906 kB / 0.609 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/0.447, allocations: 5.922 kB / 0.609 GB, free: 47.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002792/0.4498, allocations: 1.452 MB / 0.6104 GB, free: 47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4498, allocations: 0 / 0.6104 GB, free: 47 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008331/0.4507, allocations: 104.8 kB / 0.6105 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.4507, allocations: 6.844 kB / 0.6105 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.186e-05/0.4507, allocations: 10.94 kB / 0.6105 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.4508, allocations: 2.844 kB / 0.6105 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.4508, allocations: 0 / 0.6105 GB, free: 46.99 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002266/0.453, allocations: 0.9826 MB / 0.6115 GB, free: 46.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003025/0.4534, allocations: 224.5 kB / 0.6117 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.4535, allocations: 12.41 kB / 0.6117 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.4542, allocations: 43.5 kB / 0.6118 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.032e-05/0.4543, allocations: 34.36 kB / 0.6118 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.295e-05/0.4543, allocations: 20.98 kB / 0.6118 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004736/0.4548, allocations: 0.5076 MB / 0.6123 GB, free: 46.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4548, allocations: 1.422 kB / 0.6123 GB, free: 46.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006248/0.4555, allocations: 272.4 kB / 0.6126 GB, free: 46.49 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001536/0.457, allocations: 1.551 MB / 0.6141 GB, free: 45.74 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001259/0.4583, allocations: 0.7999 MB / 0.6149 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4583, allocations: 0 / 0.6149 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003963/0.4587, allocations: 272.3 kB / 0.6151 GB, free: 45.53 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008435/0.4595, allocations: 233 kB / 0.6154 GB, free: 45.47 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002427/0.462, allocations: 3.629 MB / 0.6189 GB, free: 42.68 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002762/0.4623, allocations: 1.01 MB / 0.6199 GB, free: 41.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003836/0.4626, allocations: 121.9 kB / 0.62 GB, free: 41.94 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/0.463, allocations: 348.1 kB / 0.6203 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of SimCode: time 3.11e-07/0.463, allocations: 0 / 0.6203 GB, free: 41.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.874/2.337, allocations: 15.94 MB / 0.6359 GB, free: 40.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001488/2.337, allocations: 176.5 kB / 0.6361 GB, free: 40.4 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.113/4.45, allocations: 0 / 0.6361 GB, free: 40.4 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Validation_LimPIDReset.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: