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.001387/0.001387, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001336/0.001336, allocations: 189.2 kB / 16.25 MB, free: 6.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9025/0.9025, allocations: 135.1 MB / 425.2 MB, free: 11.83 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.00142, allocations: 67.94 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1709, allocations: 80.93 MB / 0.584 GB, free: 4.781 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006412/0.1773, allocations: 4.314 MB / 0.5882 GB, free: 448 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003559/0.1809, allocations: 1.531 MB / 0.5897 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009131/0.1819, allocations: 35.81 kB / 0.5897 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006232/0.1825, allocations: 126.8 kB / 0.5898 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001116/0.1836, allocations: 186 kB / 0.59 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.1853, allocations: 0.6188 MB / 0.5906 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002202/0.1875, allocations: 1.226 MB / 0.5918 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.1887, allocations: 0.5001 MB / 0.5923 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009476/0.1897, allocations: 465.8 kB / 0.5928 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008051/0.1905, allocations: 461.4 kB / 0.5932 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003024/0.1908, allocations: 108 kB / 0.5933 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002435/0.191, allocations: 100 kB / 0.5934 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002479/0.1913, allocations: 239 kB / 0.5936 GB, free: 10.85 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005453/0.1918, allocations: 489.1 kB / 0.5941 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001325/0.1932, allocations: 1.113 MB / 0.5952 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1932, allocations: 0 / 0.5952 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1932, allocations: 0 / 0.5952 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.201e-05/0.1933, allocations: 0 / 0.5952 GB, free: 9.254 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.003154/0.1964, allocations: 1.395 MB / 0.5965 GB, free: 7.805 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1965, allocations: 8.031 kB / 0.5965 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002187/0.1967, allocations: 114.7 kB / 0.5967 GB, free: 7.676 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002521/0.197, allocations: 127.4 kB / 0.5968 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.1983, allocations: 0.7275 MB / 0.5975 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001066/0.1985, allocations: 84.25 kB / 0.5976 GB, free: 6.695 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.1986, allocations: 72.27 kB / 0.5976 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001494/0.2001, allocations: 0.7406 MB / 0.5984 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.808e-05/0.2001, allocations: 0 / 0.5984 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.59e-05/0.2002, allocations: 24 kB / 0.5984 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.2002, allocations: 23.98 kB / 0.5984 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.2014, allocations: 0.5165 MB / 0.5989 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004015/0.2054, allocations: 2.267 MB / 0.6011 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.2069, allocations: 0.6154 MB / 0.6017 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005183/0.2074, allocations: 274.4 kB / 0.602 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.015e-05/0.2075, allocations: 4.562 kB / 0.602 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007661/0.2083, allocations: 331 kB / 0.6023 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.475e-06/0.2083, allocations: 0 / 0.6023 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001647/0.2099, allocations: 0.7477 MB / 0.603 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.556e-05/0.21, allocations: 93.61 kB / 0.6031 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001074/0.2111, allocations: 0.7517 MB / 0.6039 GB, free: 88 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.979e-05/0.2111, allocations: 37.7 kB / 0.6039 GB, free: 44 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.2863/0.4975, allocations: 440.5 kB / 0.6043 GB, free: 52.38 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000275/0.4978, allocations: 206.8 kB / 0.6045 GB, free: 52.32 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001921/0.498, allocations: 106.7 kB / 0.6046 GB, free: 52.31 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.553e-05/0.4981, allocations: 333 kB / 0.6049 GB, free: 52 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005242/0.4986, allocations: 206.8 kB / 0.6051 GB, free: 51.99 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004519/0.4991, allocations: 304.8 kB / 0.6054 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008231/0.4999, allocations: 0.5071 MB / 0.6059 GB, free: 51.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.4999, allocations: 3.328 kB / 0.6059 GB, free: 51.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001144/0.5011, allocations: 0.6539 MB / 0.6066 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.5011, allocations: 5.812 kB / 0.6066 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.5011, allocations: 3 kB / 0.6066 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.5012, allocations: 3.359 kB / 0.6066 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006217/0.5018, allocations: 150.6 kB / 0.6067 GB, free: 51.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.5018, allocations: 10.38 kB / 0.6067 GB, free: 51.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.5022, allocations: 74.22 kB / 0.6068 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.652e-05/0.5023, allocations: 19.81 kB / 0.6068 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005262/0.5028, allocations: 357.2 kB / 0.6072 GB, free: 51.36 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003834/0.5032, allocations: 293.1 kB / 0.6074 GB, free: 51.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006879/0.5039, allocations: 492.2 kB / 0.6079 GB, free: 50.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.783e-06/0.5039, allocations: 0 / 0.6079 GB, free: 50.93 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009179/0.5048, allocations: 0.6297 MB / 0.6085 GB, free: 50.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/0.5048, allocations: 13.67 kB / 0.6085 GB, free: 50.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.5048, allocations: 0 / 0.6085 GB, free: 50.67 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/0.5049, allocations: 6.156 kB / 0.6085 GB, free: 50.67 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005472/0.5054, allocations: 144.5 kB / 0.6087 GB, free: 50.66 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.5054, allocations: 9.344 kB / 0.6087 GB, free: 50.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003691/0.5058, allocations: 51.39 kB / 0.6087 GB, free: 50.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.5058, allocations: 19.53 kB / 0.6088 GB, free: 50.63 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,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001528/0.506, allocations: 223.9 kB / 0.609 GB, free: 50.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.266e-05/0.5061, allocations: 95.88 kB / 0.6091 GB, free: 50.38 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001593/0.5063, allocations: 108 kB / 0.6092 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.5063, allocations: 5.469 kB / 0.6092 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.5063, allocations: 4.594 kB / 0.6092 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.5063, allocations: 3.422 kB / 0.6092 GB, free: 50.31 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001744/0.508, allocations: 1.442 MB / 0.6106 GB, free: 49.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5081, allocations: 0 / 0.6106 GB, free: 49.58 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005175/0.5086, allocations: 106.4 kB / 0.6107 GB, free: 49.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5086, allocations: 3.531 kB / 0.6107 GB, free: 49.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.57e-05/0.5086, allocations: 14.78 kB / 0.6107 GB, free: 49.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5086, allocations: 2.969 kB / 0.6107 GB, free: 49.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.5087, allocations: 0 / 0.6107 GB, free: 49.56 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00132/0.51, allocations: 0.9658 MB / 0.6116 GB, free: 49.08 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.5102, allocations: 222.3 kB / 0.6119 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.215e-05/0.5103, allocations: 10.97 kB / 0.6119 GB, free: 48.89 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004091/0.5107, allocations: 33.89 kB / 0.6119 GB, free: 48.88 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.5108, allocations: 34.05 kB / 0.6119 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.518e-05/0.5108, allocations: 21.08 kB / 0.612 GB, free: 48.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004636/0.5113, allocations: 0.525 MB / 0.6125 GB, free: 48.64 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5113, allocations: 3.375 kB / 0.6125 GB, free: 48.64 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005946/0.5119, allocations: 272.7 kB / 0.6127 GB, free: 48.56 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001433/0.5133, allocations: 1.518 MB / 0.6142 GB, free: 47.55 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001458/0.5148, allocations: 0.8146 MB / 0.615 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5148, allocations: 1 kB / 0.615 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003955/0.5152, allocations: 275 kB / 0.6153 GB, free: 47.22 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.5162, allocations: 259.9 kB / 0.6155 GB, free: 47.15 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007749/0.524, allocations: 7.274 MB / 0.6226 GB, free: 42.88 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.5243, allocations: 0.9985 MB / 0.6236 GB, free: 42.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005022/0.5248, allocations: 119.8 kB / 0.6237 GB, free: 42.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003574/0.5252, allocations: 351.4 kB / 0.624 GB, free: 41.87 MB / 0.4981 GB Notification: Performance of SimCode: time 5.91e-07/0.5252, allocations: 0 / 0.624 GB, free: 41.87 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.224/0.7492, allocations: 17.01 MB / 0.6407 GB, free: 40.68 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/0.7494, allocations: 191 kB / 0.6408 GB, free: 40.43 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.423/3.173, allocations: 4 kB / 0.6408 GB, free: 40.43 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/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)