Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.007002/0.007002, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001322/0.001323, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7309/0.7309, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 61.23 kB / 0.5813 GB, free: 0.875 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1711, allocations: 80.2 MB / 0.6596 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005204/0.1763, allocations: 4.34 MB / 0.6639 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002844/0.1792, allocations: 1.585 MB / 0.6654 GB, free: 7.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003915/0.1796, allocations: 35.81 kB / 0.6655 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000374/0.18, allocations: 166.2 kB / 0.6656 GB, free: 7.371 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.1806, allocations: 226.1 kB / 0.6658 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.1818, allocations: 0.6733 MB / 0.6665 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001013/0.1828, allocations: 1.222 MB / 0.6677 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006391/0.1834, allocations: 0.5001 MB / 0.6682 GB, free: 4.738 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00047/0.1839, allocations: 461.9 kB / 0.6686 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004121/0.1843, allocations: 461.4 kB / 0.6691 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.1845, allocations: 100 kB / 0.6692 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001159/0.1846, allocations: 104 kB / 0.6692 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001817/0.1848, allocations: 235.1 kB / 0.6695 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003326/0.1851, allocations: 489 kB / 0.6699 GB, free: 2.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.1861, allocations: 1.167 MB / 0.6711 GB, free: 1.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.1861, allocations: 3.938 kB / 0.6711 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1861, allocations: 0 / 0.6711 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.392e-05/0.1862, allocations: 0 / 0.6711 GB, free: 1.746 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.00213/0.1883, allocations: 1.433 MB / 0.6725 GB, free: 264 kB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.145e-05/0.1883, allocations: 8.031 kB / 0.6725 GB, free: 256 kB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001808/0.1885, allocations: 132.1 kB / 0.6726 GB, free: 124 kB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001262/0.1898, allocations: 0.7712 MB / 0.6734 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.624e-05/0.1899, allocations: 80.27 kB / 0.6734 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.679e-05/0.19, allocations: 72.38 kB / 0.6735 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001138/0.1911, allocations: 0.7329 MB / 0.6742 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.1912, allocations: 0 / 0.6742 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.858e-05/0.1912, allocations: 32 kB / 0.6743 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.1913, allocations: 16 kB / 0.6743 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1923, allocations: 0.5165 MB / 0.6748 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003002/0.1953, allocations: 2.252 MB / 0.677 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001306/0.1966, allocations: 0.621 MB / 0.6776 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004737/0.1971, allocations: 267.3 kB / 0.6778 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.1972, allocations: 8.562 kB / 0.6779 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005922/0.1978, allocations: 319.1 kB / 0.6782 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 1.933e-06/0.1978, allocations: 3.938 kB / 0.6782 GB, free: 10.28 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001494/0.1993, allocations: 0.764 MB / 0.6789 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.878e-05/0.1993, allocations: 85.67 kB / 0.679 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007871/0.2001, allocations: 0.7556 MB / 0.6797 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.461e-05/0.2002, allocations: 41.69 kB / 0.6798 GB, free: 8.594 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003132/0.2005, allocations: 445 kB / 0.6802 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001685/0.2007, allocations: 218.1 kB / 0.6804 GB, free: 7.941 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001598/0.2008, allocations: 118.3 kB / 0.6805 GB, free: 7.82 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.201, allocations: 329.9 kB / 0.6808 GB, free: 7.492 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004383/0.2014, allocations: 207.4 kB / 0.681 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/0.2019, allocations: 300.5 kB / 0.6813 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009114/0.2028, allocations: 0.5152 MB / 0.6818 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2028, allocations: 0 / 0.6818 GB, free: 6.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001141/0.204, allocations: 0.6546 MB / 0.6824 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.204, allocations: 5.875 kB / 0.6825 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.378e-06/0.204, allocations: 8 kB / 0.6825 GB, free: 5.738 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.204, allocations: 4 kB / 0.6825 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000614/0.2047, allocations: 147.8 kB / 0.6826 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2047, allocations: 7.938 kB / 0.6826 GB, free: 5.582 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.2051, allocations: 75.73 kB / 0.6827 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.81e-05/0.2051, allocations: 20 kB / 0.6827 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005494/0.2057, allocations: 353.4 kB / 0.683 GB, free: 5.141 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004332/0.2061, allocations: 296.4 kB / 0.6833 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008203/0.2069, allocations: 495.7 kB / 0.6838 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.683e-06/0.207, allocations: 0 / 0.6838 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001023/0.208, allocations: 0.6349 MB / 0.6844 GB, free: 3.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.077e-05/0.208, allocations: 8 kB / 0.6844 GB, free: 3.656 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.208, allocations: 4 kB / 0.6844 GB, free: 3.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.887e-06/0.208, allocations: 4 kB / 0.6844 GB, free: 3.648 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005423/0.2086, allocations: 148 kB / 0.6846 GB, free: 3.504 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.2086, allocations: 4 kB / 0.6846 GB, free: 3.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003618/0.209, allocations: 55.59 kB / 0.6846 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/0.209, allocations: 27.98 kB / 0.6847 GB, free: 3.418 MB / 0.5137 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.0001629/0.2092, allocations: 208.1 kB / 0.6849 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001045/0.2093, allocations: 95.39 kB / 0.6849 GB, free: 3.113 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001906/0.2095, allocations: 109.2 kB / 0.6851 GB, free: 3.004 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.2095, allocations: 4 kB / 0.6851 GB, free: 3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.296e-05/0.2095, allocations: 3.938 kB / 0.6851 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-06/0.2095, allocations: 7.922 kB / 0.6851 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002026/0.2116, allocations: 1.435 MB / 0.6865 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.2116, allocations: 0 / 0.6865 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005141/0.2121, allocations: 107.8 kB / 0.6866 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2121, allocations: 7.938 kB / 0.6866 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/0.2121, allocations: 19.98 kB / 0.6866 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2122, allocations: 0 / 0.6866 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.2122, allocations: 0 / 0.6866 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001585/0.2137, allocations: 0.9756 MB / 0.6876 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002374/0.214, allocations: 224.3 kB / 0.6878 GB, free: 132 kB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.392e-05/0.2141, allocations: 16 kB / 0.6878 GB, free: 116 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.2145, allocations: 31.97 kB / 0.6878 GB, free: 84 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.2146, allocations: 32.52 kB / 0.6878 GB, free: 52 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.81e-05/0.2146, allocations: 19.98 kB / 0.6879 GB, free: 32 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0005991/0.2152, allocations: 0.5187 MB / 0.6884 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2152, allocations: 0 / 0.6884 GB, free: 15.52 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006617/0.2159, allocations: 279.3 kB / 0.6886 GB, free: 15.24 MB / 0.5294 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.0001492/0.2161, allocations: 115.2 kB / 0.6887 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001537/0.2176, allocations: 0.7961 MB / 0.6895 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.2176, allocations: 0 / 0.6895 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.2181, allocations: 271.1 kB / 0.6898 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.2192, allocations: 273.1 kB / 0.69 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.2216, allocations: 1.576 MB / 0.6916 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004543/0.222, allocations: 0.9977 MB / 0.6926 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0004079/0.2225, allocations: 118.7 kB / 0.6927 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.2226, allocations: 63.42 kB / 0.6927 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of SimCode: time 5.61e-07/0.2226, allocations: 0 / 0.6927 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of Templates: time 0.01552/0.2382, allocations: 9.38 MB / 0.7019 GB, free: 1.738 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)