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: translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007951/0.0007952, allocations: 98.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008446/0.0008446, allocations: 180.1 kB / 16.92 MB, free: 6.918 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.422/1.422, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.3 MB / 427.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000358/0.0003581, allocations: 8.719 kB / 0.5082 GB, free: 4.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1763/0.1766, allocations: 82.31 MB / 0.5886 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004252/0.1809, allocations: 3.875 MB / 0.5924 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002879/0.1838, allocations: 1.527 MB / 0.5939 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004737/0.1843, allocations: 31.81 kB / 0.5939 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002796/0.1846, allocations: 122.8 kB / 0.594 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00053/0.1852, allocations: 182.8 kB / 0.5942 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1864, allocations: 0.6168 MB / 0.5948 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001072/0.1875, allocations: 1.14 MB / 0.5959 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006399/0.1881, allocations: 488.1 kB / 0.5964 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004248/0.1886, allocations: 349.8 kB / 0.5967 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003661/0.1889, allocations: 353.6 kB / 0.5971 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.237e-05/0.189, allocations: 28 kB / 0.5971 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.387e-05/0.1891, allocations: 27.94 kB / 0.5971 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001176/0.1892, allocations: 147.1 kB / 0.5972 GB, free: 9.766 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002942/0.1895, allocations: 402.8 kB / 0.5976 GB, free: 9.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006703/0.1902, allocations: 0.8107 MB / 0.5984 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.1902, allocations: 0 / 0.5984 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.031e-06/0.1902, allocations: 0 / 0.5984 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.225e-05/0.1902, allocations: 4 kB / 0.5984 GB, free: 8.547 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.002085/0.1923, allocations: 1.239 MB / 0.5996 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.481e-05/0.1924, allocations: 15.97 kB / 0.5997 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.1925, allocations: 127.4 kB / 0.5998 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001078/0.1936, allocations: 0.7236 MB / 0.6005 GB, free: 6.348 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.089e-05/0.1937, allocations: 84.25 kB / 0.6006 GB, free: 6.262 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001243/0.1939, allocations: 80.28 kB / 0.6006 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001272/0.1951, allocations: 0.7447 MB / 0.6014 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.414e-05/0.1952, allocations: 3.938 kB / 0.6014 GB, free: 5.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.1952, allocations: 31.98 kB / 0.6014 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.509e-05/0.1953, allocations: 16 kB / 0.6014 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001108/0.1964, allocations: 0.5244 MB / 0.6019 GB, free: 4.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00343/0.1998, allocations: 2.298 MB / 0.6042 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001424/0.2013, allocations: 0.6328 MB / 0.6048 GB, free: 1.816 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005247/0.2018, allocations: 278.4 kB / 0.6051 GB, free: 1.539 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.801e-05/0.2019, allocations: 12.55 kB / 0.6051 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007116/0.2026, allocations: 331 kB / 0.6054 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.886e-06/0.2026, allocations: 0 / 0.6054 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001709/0.2043, allocations: 0.7712 MB / 0.6061 GB, free: 428 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/0.2044, allocations: 89.66 kB / 0.6062 GB, free: 320 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3353/0.5397, allocations: 0.7478 MB / 0.6069 GB, free: 48.91 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001661/0.5399, allocations: 39.05 kB / 0.607 GB, free: 48.88 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003283/0.5403, allocations: 437.5 kB / 0.6074 GB, free: 48.79 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.5404, allocations: 208.2 kB / 0.6076 GB, free: 48.74 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.858e-05/0.5405, allocations: 62.92 kB / 0.6077 GB, free: 48.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.088e-05/0.5406, allocations: 333.7 kB / 0.608 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004633/0.5411, allocations: 203.3 kB / 0.6082 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.5416, allocations: 315.5 kB / 0.6085 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008987/0.5425, allocations: 0.5132 MB / 0.609 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.5425, allocations: 2.906 kB / 0.609 GB, free: 48.25 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001186/0.5437, allocations: 0.6694 MB / 0.6096 GB, free: 48.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.7e-05/0.5438, allocations: 157.5 kB / 0.6098 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.5438, allocations: 6.094 kB / 0.6098 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.462e-05/0.5438, allocations: 5.094 kB / 0.6098 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000636/0.5445, allocations: 145.7 kB / 0.6099 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.5445, allocations: 9.25 kB / 0.6099 GB, free: 48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.5449, allocations: 81.27 kB / 0.61 GB, free: 47.96 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.545, allocations: 21.28 kB / 0.61 GB, free: 47.96 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.783e-06/0.545, allocations: 3 kB / 0.61 GB, free: 47.96 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.546, allocations: 0.5224 MB / 0.6106 GB, free: 47.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.546, allocations: 3.281 kB / 0.6106 GB, free: 47.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.53e-06/0.546, allocations: 6.438 kB / 0.6106 GB, free: 47.95 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005354/0.5466, allocations: 139.2 kB / 0.6107 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.5466, allocations: 5.812 kB / 0.6107 GB, free: 47.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003812/0.547, allocations: 73.27 kB / 0.6108 GB, free: 47.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.547, allocations: 22.25 kB / 0.6108 GB, free: 47.91 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.0003642/0.5474, allocations: 300.2 kB / 0.6111 GB, free: 47.7 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.753e-05/0.5475, allocations: 92.12 kB / 0.6112 GB, free: 47.66 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.5477, allocations: 106.2 kB / 0.6113 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.5477, allocations: 5.875 kB / 0.6113 GB, free: 47.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.5477, allocations: 14.28 kB / 0.6113 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5477, allocations: 0 / 0.6113 GB, free: 47.63 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001862/0.5496, allocations: 1.45 MB / 0.6127 GB, free: 47.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5496, allocations: 3.938 kB / 0.6127 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005117/0.5501, allocations: 109.5 kB / 0.6128 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.5502, allocations: 3.578 kB / 0.6128 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.824e-05/0.5502, allocations: 11.59 kB / 0.6128 GB, free: 47.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.5502, allocations: 7.375 kB / 0.6128 GB, free: 47.28 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.5502, allocations: 0 / 0.6128 GB, free: 47.28 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.5518, allocations: 0.9797 MB / 0.6138 GB, free: 47.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.552, allocations: 221.3 kB / 0.614 GB, free: 46.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.06e-05/0.5521, allocations: 10.91 kB / 0.614 GB, free: 46.85 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004198/0.5525, allocations: 46.73 kB / 0.6141 GB, free: 46.84 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.116e-05/0.5526, allocations: 35.67 kB / 0.6141 GB, free: 46.83 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.5526, allocations: 23.86 kB / 0.6141 GB, free: 46.82 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005081/0.5531, allocations: 0.5165 MB / 0.6146 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5531, allocations: 0 / 0.6146 GB, free: 46.61 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006487/0.5538, allocations: 277.8 kB / 0.6149 GB, free: 46.53 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.0001203/0.5539, allocations: 116.2 kB / 0.615 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.5553, allocations: 0.804 MB / 0.6158 GB, free: 46.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.5554, allocations: 0 / 0.6158 GB, free: 46.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.5558, allocations: 282.5 kB / 0.616 GB, free: 46.07 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.557, allocations: 255.1 kB / 0.6163 GB, free: 45.99 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.5592, allocations: 1.965 MB / 0.6182 GB, free: 44.78 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003432/0.5596, allocations: 0.9986 MB / 0.6192 GB, free: 44.07 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.5598, allocations: 61.62 kB / 0.6192 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.5598, allocations: 3.25 kB / 0.6192 GB, free: 44.06 MB / 0.4981 GB Notification: Performance of Templates: time 0.01279/0.5726, allocations: 10.77 MB / 0.6298 GB, free: 43.03 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (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 & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)