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.001623/0.001623, 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.0024/0.0024, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.505/1.505, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.01/1.01, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 68.55 kB / 0.5049 GB, free: 5.664 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2041, allocations: 80.92 MB / 0.5839 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006539/0.2107, allocations: 4.318 MB / 0.5881 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003952/0.2147, allocations: 1.543 MB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.216, allocations: 31.81 kB / 0.5896 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006948/0.2167, allocations: 122.8 kB / 0.5897 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001293/0.218, allocations: 182.8 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.2198, allocations: 0.6202 MB / 0.5905 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001861/0.2217, allocations: 1.226 MB / 0.5917 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008143/0.2225, allocations: 0.5001 MB / 0.5922 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007014/0.2232, allocations: 473.7 kB / 0.5927 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004484/0.2237, allocations: 457.5 kB / 0.5931 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001354/0.2238, allocations: 104 kB / 0.5932 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000118/0.2239, allocations: 104 kB / 0.5933 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000188/0.2241, allocations: 243 kB / 0.5935 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003823/0.2245, allocations: 485.1 kB / 0.594 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.2256, allocations: 1.113 MB / 0.5951 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2256, allocations: 0 / 0.5951 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2256, allocations: 0 / 0.5951 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.2256, allocations: 0 / 0.5951 GB, free: 9.379 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.002373/0.228, allocations: 1.395 MB / 0.5964 GB, free: 7.93 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.2281, allocations: 12.03 kB / 0.5964 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001877/0.2283, allocations: 119.4 kB / 0.5966 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.2294, allocations: 0.7314 MB / 0.5973 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.619e-05/0.2295, allocations: 84.27 kB / 0.5974 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.2296, allocations: 76.27 kB / 0.5974 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.2309, allocations: 0.729 MB / 0.5981 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.818e-05/0.2309, allocations: 3.938 kB / 0.5981 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-05/0.231, allocations: 28 kB / 0.5982 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.643e-05/0.231, allocations: 16 kB / 0.5982 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.2321, allocations: 0.5204 MB / 0.5987 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00339/0.2355, allocations: 2.267 MB / 0.6009 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001355/0.2368, allocations: 0.6288 MB / 0.6015 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.2373, allocations: 266.4 kB / 0.6018 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.61e-05/0.2374, allocations: 8.562 kB / 0.6018 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007572/0.2382, allocations: 331 kB / 0.6021 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 3.587e-06/0.2382, allocations: 0 / 0.6021 GB, free: 1.953 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001635/0.2398, allocations: 0.7477 MB / 0.6028 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.725e-05/0.2399, allocations: 85.67 kB / 0.6029 GB, free: 1.098 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008699/0.2408, allocations: 0.7556 MB / 0.6037 GB, free: 340 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.2408, allocations: 41.7 kB / 0.6037 GB, free: 292 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.293/0.5339, allocations: 436.3 kB / 0.6041 GB, free: 52.21 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003072/0.5342, allocations: 210.9 kB / 0.6043 GB, free: 52.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.5344, allocations: 105.3 kB / 0.6044 GB, free: 52.15 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 7.53e-05/0.5345, allocations: 328.7 kB / 0.6047 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.5351, allocations: 213.3 kB / 0.6049 GB, free: 51.83 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.5356, allocations: 304.5 kB / 0.6052 GB, free: 51.75 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008178/0.5364, allocations: 0.5038 MB / 0.6057 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5364, allocations: 2.938 kB / 0.6057 GB, free: 51.67 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001177/0.5376, allocations: 0.6544 MB / 0.6063 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.5376, allocations: 9.141 kB / 0.6064 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.5376, allocations: 0 / 0.6064 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/0.5377, allocations: 9.625 kB / 0.6064 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006079/0.5383, allocations: 145.4 kB / 0.6065 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.5383, allocations: 9.469 kB / 0.6065 GB, free: 51.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004144/0.5387, allocations: 74.02 kB / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.141e-05/0.5388, allocations: 20.66 kB / 0.6066 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005838/0.5393, allocations: 356.2 kB / 0.6069 GB, free: 51.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000386/0.5397, allocations: 291.7 kB / 0.6072 GB, free: 51.24 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007182/0.5405, allocations: 497.8 kB / 0.6077 GB, free: 50.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.495e-06/0.5405, allocations: 3.953 kB / 0.6077 GB, free: 50.97 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009475/0.5414, allocations: 0.6244 MB / 0.6083 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5415, allocations: 12.02 kB / 0.6083 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.5415, allocations: 3.25 kB / 0.6083 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.5415, allocations: 6.312 kB / 0.6083 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005466/0.542, allocations: 150.5 kB / 0.6085 GB, free: 50.7 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.542, allocations: 5.781 kB / 0.6085 GB, free: 50.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003682/0.5424, allocations: 54.77 kB / 0.6085 GB, free: 50.67 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.425e-05/0.5425, allocations: 20.91 kB / 0.6086 GB, free: 50.67 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.0001664/0.5426, allocations: 215.9 kB / 0.6088 GB, free: 50.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.904e-05/0.5427, allocations: 93.45 kB / 0.6088 GB, free: 50.42 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002039/0.5429, allocations: 103.8 kB / 0.6089 GB, free: 50.36 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.543, allocations: 9.688 kB / 0.609 GB, free: 50.35 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.278e-06/0.543, allocations: 3.234 kB / 0.609 GB, free: 50.35 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.543, allocations: 4.828 kB / 0.609 GB, free: 50.35 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001871/0.5449, allocations: 1.439 MB / 0.6104 GB, free: 49.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.5449, allocations: 0 / 0.6104 GB, free: 49.62 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005227/0.5454, allocations: 106.3 kB / 0.6105 GB, free: 49.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.5454, allocations: 2.875 kB / 0.6105 GB, free: 49.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.5455, allocations: 18.17 kB / 0.6105 GB, free: 49.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5455, allocations: 3.125 kB / 0.6105 GB, free: 49.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5455, allocations: 0 / 0.6105 GB, free: 49.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001543/0.547, allocations: 0.965 MB / 0.6114 GB, free: 49.12 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002216/0.5473, allocations: 226.2 kB / 0.6117 GB, free: 48.94 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.5474, allocations: 15.06 kB / 0.6117 GB, free: 48.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000409/0.5478, allocations: 31.7 kB / 0.6117 GB, free: 48.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/0.5479, allocations: 38.56 kB / 0.6117 GB, free: 48.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.5479, allocations: 20.8 kB / 0.6118 GB, free: 48.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005798/0.5485, allocations: 0.5152 MB / 0.6123 GB, free: 48.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5485, allocations: 4 kB / 0.6123 GB, free: 48.68 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006876/0.5492, allocations: 273.3 kB / 0.6125 GB, free: 48.61 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.0001684/0.5494, allocations: 121.5 kB / 0.6126 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001602/0.551, allocations: 0.8154 MB / 0.6134 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.551, allocations: 0 / 0.6134 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004383/0.5515, allocations: 267.9 kB / 0.6137 GB, free: 48.19 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.5526, allocations: 262 kB / 0.6139 GB, free: 48.11 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.5548, allocations: 1.906 MB / 0.6158 GB, free: 46.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.5552, allocations: 0.9892 MB / 0.6168 GB, free: 46.24 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004438/0.5557, allocations: 118.7 kB / 0.6169 GB, free: 46.22 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.5558, allocations: 59.94 kB / 0.6169 GB, free: 46.21 MB / 0.4981 GB Notification: Performance of SimCode: time 3.8e-07/0.5558, allocations: 0 / 0.6169 GB, free: 46.21 MB / 0.4981 GB Notification: Performance of Templates: time 0.01449/0.5703, allocations: 9.162 MB / 0.6259 GB, free: 45.66 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)