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.006842/0.006842, allocations: 100.8 kB / 15.87 MB, free: 5.871 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.001184/0.001184, allocations: 195.8 kB / 16.79 MB, free: 5.816 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.465/1.465, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.067/1.067, allocations: 135.1 MB / 425.8 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001224, allocations: 56.81 kB / 0.5053 GB, free: 5.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2014/0.2027, allocations: 80.93 MB / 0.5843 GB, free: 4.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005773/0.2085, allocations: 4.314 MB / 0.5886 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003507/0.2121, allocations: 1.539 MB / 0.5901 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007698/0.2129, allocations: 35.81 kB / 0.5901 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004642/0.2134, allocations: 118.9 kB / 0.5902 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006592/0.2141, allocations: 182.7 kB / 0.5904 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001366/0.2154, allocations: 0.6213 MB / 0.591 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001118/0.2166, allocations: 1.144 MB / 0.5921 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006952/0.2173, allocations: 492.1 kB / 0.5926 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004959/0.2178, allocations: 409.8 kB / 0.593 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004178/0.2182, allocations: 425.4 kB / 0.5934 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001048/0.2183, allocations: 48 kB / 0.5934 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.463e-05/0.2184, allocations: 52 kB / 0.5935 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.2186, allocations: 179.1 kB / 0.5936 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.2189, allocations: 437 kB / 0.5941 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007129/0.2196, allocations: 0.8383 MB / 0.5949 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.2197, allocations: 0 / 0.5949 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.142e-06/0.2197, allocations: 0 / 0.5949 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.63e-05/0.2197, allocations: 0 / 0.5949 GB, free: 10.15 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.002475/0.2222, allocations: 1.397 MB / 0.5962 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.2222, allocations: 12.03 kB / 0.5962 GB, free: 8.691 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.2224, allocations: 127.4 kB / 0.5964 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.2236, allocations: 0.7275 MB / 0.5971 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.286e-05/0.2237, allocations: 84.27 kB / 0.5972 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.339e-05/0.2238, allocations: 72.28 kB / 0.5972 GB, free: 7.641 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.225, allocations: 0.7329 MB / 0.5979 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2251, allocations: 0 / 0.5979 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.319e-05/0.2251, allocations: 28 kB / 0.598 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.2252, allocations: 16 kB / 0.598 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.2262, allocations: 0.5204 MB / 0.5985 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00349/0.2297, allocations: 2.279 MB / 0.6007 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.2312, allocations: 0.621 MB / 0.6013 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/0.2317, allocations: 274.4 kB / 0.6016 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.01e-05/0.2318, allocations: 4.562 kB / 0.6016 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007718/0.2325, allocations: 323.1 kB / 0.6019 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.226e-06/0.2326, allocations: 0 / 0.6019 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001652/0.2342, allocations: 0.7594 MB / 0.6026 GB, free: 1.961 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.214e-05/0.2343, allocations: 85.61 kB / 0.6027 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008833/0.2352, allocations: 0.7517 MB / 0.6035 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.093e-05/0.2352, allocations: 37.7 kB / 0.6035 GB, free: 1.055 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/0.2356, allocations: 444.5 kB / 0.6039 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001626/0.2358, allocations: 205 kB / 0.6041 GB, free: 420 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/0.2359, allocations: 110.2 kB / 0.6042 GB, free: 304 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.3392/0.5752, allocations: 330 kB / 0.6045 GB, free: 51.86 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/0.5759, allocations: 202.7 kB / 0.6047 GB, free: 51.86 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.5765, allocations: 307.7 kB / 0.605 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/0.5773, allocations: 0.5028 MB / 0.6055 GB, free: 51.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.5773, allocations: 2.938 kB / 0.6055 GB, free: 51.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001235/0.5786, allocations: 0.6536 MB / 0.6062 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.5786, allocations: 6.25 kB / 0.6062 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.5786, allocations: 2.594 kB / 0.6062 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.5787, allocations: 5.125 kB / 0.6062 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.5793, allocations: 150.1 kB / 0.6063 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.5793, allocations: 9.656 kB / 0.6063 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004481/0.5798, allocations: 71.97 kB / 0.6064 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.862e-05/0.5798, allocations: 24.44 kB / 0.6064 GB, free: 51.64 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005828/0.5804, allocations: 348 kB / 0.6067 GB, free: 51.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003925/0.5808, allocations: 295.6 kB / 0.607 GB, free: 51.47 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007374/0.5816, allocations: 498.9 kB / 0.6075 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.504e-06/0.5816, allocations: 2.562 kB / 0.6075 GB, free: 51.26 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009667/0.5825, allocations: 0.6277 MB / 0.6081 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.5826, allocations: 5.719 kB / 0.6081 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.986e-06/0.5826, allocations: 2.906 kB / 0.6081 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.152e-06/0.5826, allocations: 5.75 kB / 0.6081 GB, free: 51.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005417/0.5831, allocations: 141.8 kB / 0.6083 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.525e-06/0.5831, allocations: 9.469 kB / 0.6083 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.5835, allocations: 63.72 kB / 0.6083 GB, free: 51.03 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.325e-05/0.5836, allocations: 24.94 kB / 0.6084 GB, free: 51.03 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.0001598/0.5837, allocations: 218.3 kB / 0.6086 GB, free: 50.83 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5838, allocations: 91.31 kB / 0.6087 GB, free: 50.83 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002139/0.5841, allocations: 103.7 kB / 0.6087 GB, free: 50.77 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.5841, allocations: 9.969 kB / 0.6088 GB, free: 50.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.14e-05/0.5841, allocations: 3.938 kB / 0.6088 GB, free: 50.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5841, allocations: 3.281 kB / 0.6088 GB, free: 50.76 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.586, allocations: 1.435 MB / 0.6102 GB, free: 50.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.586, allocations: 1.5 kB / 0.6102 GB, free: 50.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005182/0.5865, allocations: 101.6 kB / 0.6103 GB, free: 50.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5865, allocations: 2.75 kB / 0.6103 GB, free: 50.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.7e-05/0.5865, allocations: 22.84 kB / 0.6103 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/0.5866, allocations: 2.406 kB / 0.6103 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.5866, allocations: 6.188 kB / 0.6103 GB, free: 50.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.588, allocations: 0.9664 MB / 0.6112 GB, free: 49.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002009/0.5882, allocations: 215.5 kB / 0.6114 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.405e-05/0.5883, allocations: 10.94 kB / 0.6115 GB, free: 49.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/0.5887, allocations: 32.25 kB / 0.6115 GB, free: 49.35 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.5888, allocations: 34.3 kB / 0.6115 GB, free: 49.34 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-05/0.5888, allocations: 21.61 kB / 0.6115 GB, free: 49.34 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005381/0.5894, allocations: 0.5223 MB / 0.6121 GB, free: 49.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5894, allocations: 4 kB / 0.6121 GB, free: 49.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006541/0.59, allocations: 279.1 kB / 0.6123 GB, free: 49.04 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.000131/0.5902, allocations: 114.4 kB / 0.6124 GB, free: 48.94 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001375/0.5916, allocations: 0.792 MB / 0.6132 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.5916, allocations: 0 / 0.6132 GB, free: 48.7 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004401/0.592, allocations: 276.2 kB / 0.6135 GB, free: 48.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001071/0.5931, allocations: 254.3 kB / 0.6137 GB, free: 48.54 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002361/0.5955, allocations: 1.92 MB / 0.6156 GB, free: 47.35 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.5958, allocations: 0.9933 MB / 0.6166 GB, free: 46.64 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002187/0.596, allocations: 63.94 kB / 0.6166 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of SimCode: time 5.61e-07/0.596, allocations: 0 / 0.6166 GB, free: 46.63 MB / 0.4981 GB Notification: Performance of Templates: time 0.01492/0.611, allocations: 10.91 MB / 0.6273 GB, free: 45.5 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)