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.009607/0.009607, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.002017/0.002017, allocations: 200.8 kB / 16.68 MB, free: 5.969 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.467/1.467, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9918/0.9918, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 63.91 kB / 0.5856 GB, free: 3.398 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5657/0.5669, allocations: 80.91 MB / 0.6646 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004872/0.5718, allocations: 4.332 MB / 0.6688 GB, free: 4.18 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003316/0.5752, allocations: 1.587 MB / 0.6704 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006572/0.5759, allocations: 36 kB / 0.6704 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004128/0.5763, allocations: 168.1 kB / 0.6706 GB, free: 2.691 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.577, allocations: 233.8 kB / 0.6708 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.5782, allocations: 0.6706 MB / 0.6715 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001047/0.5792, allocations: 1.227 MB / 0.6726 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006933/0.5799, allocations: 0.4978 MB / 0.6731 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005686/0.5805, allocations: 463.6 kB / 0.6736 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004315/0.5809, allocations: 460.7 kB / 0.674 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001721/0.5811, allocations: 102.1 kB / 0.6741 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001655/0.5813, allocations: 101.9 kB / 0.6742 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001645/0.5815, allocations: 236.6 kB / 0.6744 GB, free: 8 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000466/0.5819, allocations: 493.7 kB / 0.6749 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001384/0.5833, allocations: 1.165 MB / 0.676 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.5833, allocations: 1.125 kB / 0.676 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.344e-06/0.5834, allocations: 0 / 0.676 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.635e-05/0.5834, allocations: 4 kB / 0.6761 GB, free: 14.68 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002676/0.5861, allocations: 1.425 MB / 0.6774 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.5861, allocations: 10.03 kB / 0.6775 GB, free: 13.58 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/0.5863, allocations: 127.3 kB / 0.6776 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001334/0.5877, allocations: 0.7696 MB / 0.6783 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.5878, allocations: 89.59 kB / 0.6784 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.5879, allocations: 70.06 kB / 0.6785 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001378/0.5893, allocations: 0.7305 MB / 0.6792 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.5893, allocations: 0 / 0.6792 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.797e-05/0.5894, allocations: 27.22 kB / 0.6792 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.06e-05/0.5894, allocations: 17.06 kB / 0.6792 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.5906, allocations: 0.5222 MB / 0.6797 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003542/0.5942, allocations: 2.25 MB / 0.6819 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.5957, allocations: 0.6179 MB / 0.6825 GB, free: 9.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005422/0.5962, allocations: 270.1 kB / 0.6828 GB, free: 9.852 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.554e-05/0.5963, allocations: 10.25 kB / 0.6828 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007028/0.597, allocations: 321.1 kB / 0.6831 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 4.228e-06/0.597, allocations: 0 / 0.6831 GB, free: 9.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001775/0.5988, allocations: 0.7651 MB / 0.6839 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.5989, allocations: 83.92 kB / 0.6839 GB, free: 9.168 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009933/0.5999, allocations: 0.7617 MB / 0.6847 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.5999, allocations: 40.14 kB / 0.6847 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/0.6003, allocations: 446 kB / 0.6852 GB, free: 8.301 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002096/0.6006, allocations: 214.6 kB / 0.6854 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001886/0.6008, allocations: 106.1 kB / 0.6855 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6009, allocations: 331.1 kB / 0.6858 GB, free: 7.723 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004798/0.6014, allocations: 209.8 kB / 0.686 GB, free: 7.617 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.6019, allocations: 308.1 kB / 0.6863 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001006/0.603, allocations: 0.5057 MB / 0.6868 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.603, allocations: 1.062 kB / 0.6868 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001336/0.6043, allocations: 0.6579 MB / 0.6874 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.6043, allocations: 5.562 kB / 0.6874 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-06/0.6044, allocations: 2.406 kB / 0.6874 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.6044, allocations: 4.688 kB / 0.6874 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006739/0.6051, allocations: 150 kB / 0.6876 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/0.6051, allocations: 17.16 kB / 0.6876 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.6055, allocations: 77.36 kB / 0.6876 GB, free: 6.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.221e-05/0.6056, allocations: 19.38 kB / 0.6877 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006041/0.6062, allocations: 357.4 kB / 0.688 GB, free: 6.426 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004888/0.6067, allocations: 288.4 kB / 0.6883 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008629/0.6076, allocations: 498.7 kB / 0.6888 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.844e-06/0.6076, allocations: 0 / 0.6888 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001126/0.6087, allocations: 0.6357 MB / 0.6894 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.949e-06/0.6087, allocations: 6.875 kB / 0.6894 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.6088, allocations: 1.375 kB / 0.6894 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.6088, allocations: 9.75 kB / 0.6894 GB, free: 5.59 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.6094, allocations: 138.9 kB / 0.6895 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/0.6094, allocations: 13.11 kB / 0.6895 GB, free: 5.551 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004118/0.6098, allocations: 53.94 kB / 0.6896 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/0.6098, allocations: 18.78 kB / 0.6896 GB, free: 5.512 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.0002194/0.6101, allocations: 221.5 kB / 0.6898 GB, free: 5.297 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.6102, allocations: 95.08 kB / 0.6899 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.6104, allocations: 109.6 kB / 0.69 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.278e-06/0.6104, allocations: 5.625 kB / 0.69 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.769e-05/0.6105, allocations: 5.031 kB / 0.69 GB, free: 5.156 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.6105, allocations: 3.984 kB / 0.69 GB, free: 5.152 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002515/0.613, allocations: 1.439 MB / 0.6914 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.613, allocations: 0 / 0.6914 GB, free: 4.141 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005469/0.6136, allocations: 107 kB / 0.6915 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.413e-06/0.6136, allocations: 1.719 kB / 0.6915 GB, free: 4.113 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.6136, allocations: 12.69 kB / 0.6916 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.6136, allocations: 1.125 kB / 0.6916 GB, free: 4.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.6137, allocations: 5.062 kB / 0.6916 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.6156, allocations: 0.9729 MB / 0.6925 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003001/0.6159, allocations: 228.4 kB / 0.6927 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.616, allocations: 10.47 kB / 0.6927 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.6165, allocations: 35.05 kB / 0.6928 GB, free: 3.293 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.774e-05/0.6166, allocations: 33.3 kB / 0.6928 GB, free: 3.277 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/0.6166, allocations: 20.33 kB / 0.6928 GB, free: 3.27 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0008021/0.6174, allocations: 0.5162 MB / 0.6933 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6174, allocations: 1.25 kB / 0.6933 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0008718/0.6183, allocations: 277.1 kB / 0.6936 GB, free: 2.902 MB / 0.5137 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.000177/0.6185, allocations: 120.6 kB / 0.6937 GB, free: 2.793 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.6204, allocations: 0.791 MB / 0.6945 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.6204, allocations: 0 / 0.6945 GB, free: 2.453 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.621, allocations: 265.9 kB / 0.6947 GB, free: 2.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.6222, allocations: 284.1 kB / 0.695 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.6252, allocations: 1.584 MB / 0.6966 GB, free: 404 kB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006937/0.6259, allocations: 0.9898 MB / 0.6975 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005112/0.6265, allocations: 126.6 kB / 0.6976 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.6266, allocations: 55.44 kB / 0.6977 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.6267, allocations: 0 / 0.6977 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.01881/0.6455, allocations: 9.374 MB / 0.7068 GB, free: 5.934 MB / 0.5294 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)