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.009307/0.009307, allocations: 100.9 kB / 15.73 MB, free: 5.586 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.001298/0.001298, allocations: 189.4 kB / 16.67 MB, free: 5.523 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.537/1.537, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8624/0.8624, allocations: 135.1 MB / 425.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 62.75 kB / 0.5856 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2024, allocations: 80.93 MB / 0.6646 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006571/0.209, allocations: 4.329 MB / 0.6688 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004256/0.2133, allocations: 1.593 MB / 0.6704 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009554/0.2143, allocations: 35.81 kB / 0.6704 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000509/0.2148, allocations: 162.2 kB / 0.6706 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008435/0.2157, allocations: 242.1 kB / 0.6708 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001635/0.2174, allocations: 0.672 MB / 0.6715 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001677/0.2191, allocations: 1.229 MB / 0.6727 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009234/0.22, allocations: 0.4962 MB / 0.6731 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007436/0.2207, allocations: 481.9 kB / 0.6736 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.2213, allocations: 461.4 kB / 0.674 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002189/0.2215, allocations: 100 kB / 0.6741 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.2216, allocations: 104 kB / 0.6742 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002092/0.2219, allocations: 239 kB / 0.6745 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004174/0.2223, allocations: 493 kB / 0.6749 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001206/0.2235, allocations: 1.16 MB / 0.6761 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2235, allocations: 0 / 0.6761 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2235, allocations: 0 / 0.6761 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.2235, allocations: 0 / 0.6761 GB, free: 10.03 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.00289/0.2264, allocations: 1.399 MB / 0.6774 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2265, allocations: 9.109 kB / 0.6774 GB, free: 8.57 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/0.2267, allocations: 123.4 kB / 0.6776 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001354/0.2281, allocations: 0.7665 MB / 0.6783 GB, free: 7.641 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.2282, allocations: 76.27 kB / 0.6784 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001011/0.2283, allocations: 72.38 kB / 0.6785 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.2297, allocations: 0.7329 MB / 0.6792 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.2297, allocations: 0 / 0.6792 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.369e-05/0.2298, allocations: 28 kB / 0.6792 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.2298, allocations: 16 kB / 0.6792 GB, free: 6.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.2311, allocations: 0.5243 MB / 0.6797 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003991/0.2351, allocations: 2.243 MB / 0.6819 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001495/0.2366, allocations: 0.6185 MB / 0.6825 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005154/0.2371, allocations: 270.4 kB / 0.6828 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.2372, allocations: 8.562 kB / 0.6828 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007337/0.2379, allocations: 319 kB / 0.6831 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.956e-06/0.238, allocations: 4 kB / 0.6831 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001791/0.2398, allocations: 0.7556 MB / 0.6838 GB, free: 1.844 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.58e-05/0.2398, allocations: 81.67 kB / 0.6839 GB, free: 1.746 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009207/0.2408, allocations: 0.7633 MB / 0.6847 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.651e-05/0.2408, allocations: 41.7 kB / 0.6847 GB, free: 0.9219 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004073/0.2412, allocations: 436.5 kB / 0.6851 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/0.2414, allocations: 208.9 kB / 0.6853 GB, free: 292 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001676/0.2416, allocations: 106.3 kB / 0.6854 GB, free: 180 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0005943/0.2422, allocations: 330 kB / 0.6857 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004675/0.2427, allocations: 211.4 kB / 0.6859 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005985/0.2433, allocations: 312.3 kB / 0.6862 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.2445, allocations: 0.5035 MB / 0.6867 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.2445, allocations: 0 / 0.6867 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001346/0.2458, allocations: 0.6539 MB / 0.6874 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.2459, allocations: 8 kB / 0.6874 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.2459, allocations: 4 kB / 0.6874 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.2459, allocations: 8 kB / 0.6874 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006472/0.2466, allocations: 148 kB / 0.6875 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.592e-05/0.2466, allocations: 11.88 kB / 0.6875 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004303/0.247, allocations: 71.34 kB / 0.6876 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.006e-05/0.2471, allocations: 23.98 kB / 0.6876 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008002/0.2479, allocations: 349.4 kB / 0.6879 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004662/0.2484, allocations: 292.5 kB / 0.6882 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009563/0.2493, allocations: 499.7 kB / 0.6887 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.663e-06/0.2493, allocations: 0 / 0.6887 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001131/0.2505, allocations: 0.6384 MB / 0.6893 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.2505, allocations: 4 kB / 0.6893 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.2505, allocations: 4 kB / 0.6893 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.797e-06/0.2505, allocations: 4 kB / 0.6893 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005793/0.2511, allocations: 139.8 kB / 0.6895 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.2511, allocations: 4 kB / 0.6895 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004101/0.2515, allocations: 59.44 kB / 0.6895 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.2516, allocations: 24.09 kB / 0.6896 GB, free: 11.77 MB / 0.5294 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.0002269/0.2518, allocations: 218 kB / 0.6898 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.252, allocations: 90.88 kB / 0.6899 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.2522, allocations: 101.2 kB / 0.6899 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2522, allocations: 7.938 kB / 0.69 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.2522, allocations: 3.938 kB / 0.69 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.2523, allocations: 3.984 kB / 0.69 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.2548, allocations: 1.443 MB / 0.6914 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.2548, allocations: 0 / 0.6914 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005519/0.2554, allocations: 103.8 kB / 0.6915 GB, free: 9.746 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.2554, allocations: 4 kB / 0.6915 GB, free: 9.742 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.623e-05/0.2555, allocations: 23.98 kB / 0.6915 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2555, allocations: 0 / 0.6915 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2555, allocations: 0 / 0.6915 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001895/0.2574, allocations: 0.9634 MB / 0.6924 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003291/0.2577, allocations: 223.8 kB / 0.6927 GB, free: 8.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001005/0.2578, allocations: 8 kB / 0.6927 GB, free: 8.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004433/0.2583, allocations: 31.97 kB / 0.6927 GB, free: 8.457 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2584, allocations: 36.5 kB / 0.6927 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.032e-05/0.2585, allocations: 20 kB / 0.6927 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0007545/0.2592, allocations: 0.5224 MB / 0.6933 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2592, allocations: 0 / 0.6933 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001119/0.2604, allocations: 279 kB / 0.6935 GB, free: 7.613 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.0001851/0.2605, allocations: 120.4 kB / 0.6936 GB, free: 7.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001832/0.2624, allocations: 0.7876 MB / 0.6944 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.2624, allocations: 1 kB / 0.6944 GB, free: 6.699 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.2631, allocations: 275.1 kB / 0.6947 GB, free: 6.43 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.2643, allocations: 275 kB / 0.6949 GB, free: 6.176 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003378/0.2677, allocations: 1.553 MB / 0.6964 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001053/0.2688, allocations: 0.9898 MB / 0.6974 GB, free: 3.578 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0007337/0.2695, allocations: 122.7 kB / 0.6975 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002029/0.2697, allocations: 59.42 kB / 0.6976 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.2697, allocations: 0 / 0.6976 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of Templates: time 0.02104/0.2908, allocations: 9.372 MB / 0.7067 GB, free: 10.12 MB / 0.545 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)