Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001485/0.001485, allocations: 190.7 kB / 17.35 MB, free: 5.699 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.56/1.56, allocations: 222.9 MB / 241.1 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8508/0.8508, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001302/0.001302, allocations: 58.12 kB / 0.5863 GB, free: 21.4 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1982/0.1995, allocations: 80.93 MB / 0.6653 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006049/0.2056, allocations: 4.104 MB / 0.6693 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.2089, allocations: 1.321 MB / 0.6706 GB, free: 220 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000921/0.2098, allocations: 23.94 kB / 0.6706 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000608/0.2105, allocations: 126.7 kB / 0.6707 GB, free: 68 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008464/0.2114, allocations: 182.5 kB / 0.6709 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.2125, allocations: 418.9 kB / 0.6713 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.2139, allocations: 0.967 MB / 0.6722 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009414/0.2149, allocations: 458.1 kB / 0.6727 GB, free: 14.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006576/0.2156, allocations: 330.8 kB / 0.673 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005968/0.2162, allocations: 338.3 kB / 0.6733 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000169/0.2164, allocations: 88 kB / 0.6734 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001846/0.2165, allocations: 92 kB / 0.6735 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001853/0.2167, allocations: 179.4 kB / 0.6737 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004781/0.2172, allocations: 402 kB / 0.674 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.2185, allocations: 1.058 MB / 0.6751 GB, free: 11.58 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2185, allocations: 4 kB / 0.6751 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.124e-06/0.2185, allocations: 3.938 kB / 0.6751 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.202e-05/0.2185, allocations: 0 / 0.6751 GB, free: 11.57 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002026/0.2206, allocations: 1.096 MB / 0.6762 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.805e-05/0.2206, allocations: 9.109 kB / 0.6762 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001677/0.2208, allocations: 92.36 kB / 0.6762 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.2219, allocations: 0.5694 MB / 0.6768 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.917e-05/0.2219, allocations: 45.69 kB / 0.6768 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.685e-05/0.222, allocations: 52.38 kB / 0.6769 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.2232, allocations: 0.6195 MB / 0.6775 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.2232, allocations: 0 / 0.6775 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.65e-05/0.2233, allocations: 28 kB / 0.6775 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.2233, allocations: 12 kB / 0.6775 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009822/0.2243, allocations: 461 kB / 0.678 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.2277, allocations: 1.997 MB / 0.6799 GB, free: 6.406 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009052/0.2286, allocations: 445.7 kB / 0.6804 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004482/0.229, allocations: 239.4 kB / 0.6806 GB, free: 5.73 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.2291, allocations: 8.438 kB / 0.6806 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005799/0.2297, allocations: 265.2 kB / 0.6808 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 3.737e-06/0.2297, allocations: 0 / 0.6808 GB, free: 5.449 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.001437/0.2312, allocations: 0.5847 MB / 0.6814 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.603e-05/0.2312, allocations: 63.84 kB / 0.6815 GB, free: 4.785 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005606/0.2318, allocations: 438 kB / 0.6819 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.457e-05/0.2318, allocations: 37.7 kB / 0.6819 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.2321, allocations: 333.6 kB / 0.6822 GB, free: 3.977 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001528/0.2323, allocations: 170.5 kB / 0.6824 GB, free: 3.809 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001557/0.2324, allocations: 98.19 kB / 0.6825 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.2326, allocations: 366.8 kB / 0.6829 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004197/0.2331, allocations: 165 kB / 0.683 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.2335, allocations: 249.8 kB / 0.6833 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008668/0.2344, allocations: 456 kB / 0.6837 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2344, allocations: 0 / 0.6837 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001186/0.2356, allocations: 0.5666 MB / 0.6842 GB, free: 1.852 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.72e-05/0.2357, allocations: 37.58 kB / 0.6843 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.2357, allocations: 4 kB / 0.6843 GB, free: 1.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.2357, allocations: 4 kB / 0.6843 GB, free: 1.801 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.2362, allocations: 115.8 kB / 0.6844 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.177e-05/0.2363, allocations: 4 kB / 0.6844 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003768/0.2367, allocations: 59.83 kB / 0.6845 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.2367, allocations: 24 kB / 0.6845 GB, free: 1.602 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0003214/0.237, allocations: 207.4 kB / 0.6847 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.154e-05/0.2371, allocations: 67.55 kB / 0.6847 GB, free: 1.324 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.2373, allocations: 65.58 kB / 0.6848 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.2373, allocations: 3.984 kB / 0.6848 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.2373, allocations: 0 / 0.6848 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002344/0.2376, allocations: 176.6 kB / 0.685 GB, free: 1.066 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.503e-05/0.2377, allocations: 8 kB / 0.685 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002865/0.2379, allocations: 27.97 kB / 0.685 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.2381, allocations: 36.39 kB / 0.685 GB, free: 0.9961 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00139/0.2395, allocations: 0.5543 MB / 0.6856 GB, free: 444 kB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001467/0.241, allocations: 0.8456 MB / 0.6864 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003958/0.2414, allocations: 211.4 kB / 0.6866 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00037/0.2417, allocations: 306.9 kB / 0.6869 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of Backend: time 1.012e-06/0.2418, allocations: 0 / 0.6869 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001028/0.2428, allocations: 412.9 kB / 0.6873 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002704/0.2455, allocations: 1.724 MB / 0.689 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of Templates: time 0.01575/0.2613, allocations: 7.069 MB / 0.6959 GB, free: 5.875 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)