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.00126/0.001259, 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.001839/0.001839, allocations: 189.3 kB / 16.25 MB, free: 6.59 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.4/1.4, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9514/0.9514, allocations: 135.6 MB / 425.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 63.58 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1777/0.1796, allocations: 81.02 MB / 0.5845 GB, free: 4.363 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005981/0.1857, allocations: 4.324 MB / 0.5887 GB, free: 12 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003592/0.1893, allocations: 1.531 MB / 0.5902 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007495/0.1901, allocations: 35.81 kB / 0.5902 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.1905, allocations: 126.8 kB / 0.5904 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007145/0.1913, allocations: 174.8 kB / 0.5905 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.1927, allocations: 0.6186 MB / 0.5911 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001353/0.1941, allocations: 1.226 MB / 0.5923 GB, free: 12.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007771/0.1949, allocations: 0.5001 MB / 0.5928 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006745/0.1956, allocations: 461.8 kB / 0.5933 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000553/0.1961, allocations: 465.4 kB / 0.5937 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.1963, allocations: 104 kB / 0.5938 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000133/0.1965, allocations: 100 kB / 0.5939 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002082/0.1967, allocations: 239.1 kB / 0.5941 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004356/0.1971, allocations: 485 kB / 0.5946 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001173/0.1983, allocations: 1.121 MB / 0.5957 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1983, allocations: 0 / 0.5957 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.064e-06/0.1983, allocations: 0 / 0.5957 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.167e-05/0.1983, allocations: 0 / 0.5957 GB, free: 8.84 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.002528/0.2009, allocations: 1.391 MB / 0.597 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.2009, allocations: 8.031 kB / 0.597 GB, free: 7.387 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.2011, allocations: 123.4 kB / 0.5972 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001247/0.2024, allocations: 0.7392 MB / 0.5979 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001005/0.2025, allocations: 76.27 kB / 0.598 GB, free: 6.406 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001154/0.2026, allocations: 76.28 kB / 0.598 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001355/0.204, allocations: 0.7329 MB / 0.5987 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.204, allocations: 3.984 kB / 0.5988 GB, free: 5.555 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.124e-05/0.2041, allocations: 32 kB / 0.5988 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.626e-05/0.2041, allocations: 16 kB / 0.5988 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.2052, allocations: 0.5165 MB / 0.5993 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.2088, allocations: 2.275 MB / 0.6015 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.2102, allocations: 0.6249 MB / 0.6021 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005306/0.2108, allocations: 267.1 kB / 0.6024 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.934e-05/0.2108, allocations: 12.55 kB / 0.6024 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007717/0.2116, allocations: 315.1 kB / 0.6027 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.695e-06/0.2116, allocations: 0 / 0.6027 GB, free: 1.414 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001704/0.2133, allocations: 0.7633 MB / 0.6034 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.879e-05/0.2134, allocations: 85.61 kB / 0.6035 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3093/0.5227, allocations: 0.7531 MB / 0.6043 GB, free: 51.95 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002288/0.523, allocations: 41.39 kB / 0.6043 GB, free: 51.92 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004556/0.5234, allocations: 438.9 kB / 0.6047 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002136/0.5237, allocations: 207.4 kB / 0.6049 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002225/0.5239, allocations: 109.9 kB / 0.605 GB, free: 51.77 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.839e-05/0.524, allocations: 328.2 kB / 0.6053 GB, free: 51.46 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006126/0.5246, allocations: 211.5 kB / 0.6055 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006073/0.5252, allocations: 301.2 kB / 0.6058 GB, free: 51.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001192/0.5264, allocations: 0.5037 MB / 0.6063 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.5265, allocations: 3.156 kB / 0.6063 GB, free: 51.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00171/0.5282, allocations: 0.6552 MB / 0.607 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.5282, allocations: 5.969 kB / 0.607 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.5282, allocations: 0.8594 kB / 0.607 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.097e-05/0.5283, allocations: 8.5 kB / 0.607 GB, free: 51.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008963/0.5292, allocations: 152.6 kB / 0.6071 GB, free: 51.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.09e-05/0.5292, allocations: 9.031 kB / 0.6071 GB, free: 51.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007364/0.5299, allocations: 69.3 kB / 0.6072 GB, free: 50.99 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.127e-05/0.53, allocations: 24.7 kB / 0.6072 GB, free: 50.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009278/0.531, allocations: 358 kB / 0.6076 GB, free: 50.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000666/0.5316, allocations: 289.9 kB / 0.6078 GB, free: 50.62 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001229/0.5329, allocations: 0.4932 MB / 0.6083 GB, free: 50.36 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.5329, allocations: 0 / 0.6083 GB, free: 50.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001715/0.5346, allocations: 0.6228 MB / 0.6089 GB, free: 50.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.5347, allocations: 12.66 kB / 0.6089 GB, free: 50.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.277e-06/0.5347, allocations: 2.812 kB / 0.6089 GB, free: 50.09 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.5347, allocations: 8.594 kB / 0.609 GB, free: 50.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/0.5356, allocations: 140.2 kB / 0.6091 GB, free: 50.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.672e-05/0.5356, allocations: 12.78 kB / 0.6091 GB, free: 50.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007481/0.5364, allocations: 51.08 kB / 0.6091 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-05/0.5365, allocations: 24.72 kB / 0.6092 GB, free: 50.05 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.0002841/0.5368, allocations: 217.6 kB / 0.6094 GB, free: 49.85 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001683/0.5369, allocations: 93.16 kB / 0.6095 GB, free: 49.8 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003057/0.5373, allocations: 100.5 kB / 0.6096 GB, free: 49.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.099e-05/0.5373, allocations: 9.781 kB / 0.6096 GB, free: 49.73 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/0.5373, allocations: 0 / 0.6096 GB, free: 49.73 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.5373, allocations: 3.234 kB / 0.6096 GB, free: 49.73 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.5402, allocations: 1.445 MB / 0.611 GB, free: 49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5402, allocations: 0 / 0.611 GB, free: 49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008459/0.541, allocations: 108.9 kB / 0.6111 GB, free: 49 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/0.5411, allocations: 3.25 kB / 0.6111 GB, free: 49 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.723e-05/0.5411, allocations: 15.19 kB / 0.6111 GB, free: 48.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.921e-06/0.5411, allocations: 3.969 kB / 0.6111 GB, free: 48.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5411, allocations: 3.828 kB / 0.6111 GB, free: 48.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.5433, allocations: 0.958 MB / 0.612 GB, free: 48.51 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003468/0.5436, allocations: 227.4 kB / 0.6123 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.5438, allocations: 10.88 kB / 0.6123 GB, free: 48.31 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006703/0.5445, allocations: 32.52 kB / 0.6123 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.5446, allocations: 43.52 kB / 0.6123 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.663e-05/0.5447, allocations: 18.86 kB / 0.6124 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0007768/0.5455, allocations: 0.5145 MB / 0.6129 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.81e-07/0.5455, allocations: 0 / 0.6129 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001257/0.5468, allocations: 278.7 kB / 0.6131 GB, free: 48 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.0001929/0.547, allocations: 111.7 kB / 0.6132 GB, free: 47.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.002443/0.5494, allocations: 0.816 MB / 0.614 GB, free: 47.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.5494, allocations: 0 / 0.614 GB, free: 47.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006332/0.5501, allocations: 271.9 kB / 0.6143 GB, free: 47.58 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001644/0.5517, allocations: 270.4 kB / 0.6146 GB, free: 47.5 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.5554, allocations: 1.896 MB / 0.6164 GB, free: 46.33 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.5559, allocations: 0.9903 MB / 0.6174 GB, free: 45.62 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005416/0.5564, allocations: 116.6 kB / 0.6175 GB, free: 45.6 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002495/0.5567, allocations: 58.25 kB / 0.6175 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of SimCode: time 1.443e-06/0.5567, allocations: 0 / 0.6175 GB, free: 45.59 MB / 0.4981 GB Notification: Performance of Templates: time 0.02305/0.5798, allocations: 9.168 MB / 0.6265 GB, free: 45.03 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)