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.001156/0.001156, allocations: 111.2 kB / 16.42 MB, free: 6.461 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.001116/0.001116, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7781/0.7781, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 62.81 kB / 0.5862 GB, free: 21.62 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1655, allocations: 80.92 MB / 0.6653 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.006639/0.1722, allocations: 4.325 MB / 0.6695 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003664/0.1759, allocations: 1.597 MB / 0.6711 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009911/0.1769, allocations: 35.81 kB / 0.6711 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006226/0.1776, allocations: 162.2 kB / 0.6712 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.001188/0.1788, allocations: 242.1 kB / 0.6715 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.1805, allocations: 0.6705 MB / 0.6721 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001729/0.1823, allocations: 1.226 MB / 0.6733 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009189/0.1832, allocations: 0.4962 MB / 0.6738 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007981/0.184, allocations: 481.9 kB / 0.6743 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006902/0.1847, allocations: 461.4 kB / 0.6747 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003066/0.185, allocations: 100 kB / 0.6748 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002593/0.1853, allocations: 104 kB / 0.6749 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000252/0.1855, allocations: 235.1 kB / 0.6751 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004489/0.186, allocations: 497 kB / 0.6756 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1872, allocations: 1.16 MB / 0.6767 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.1872, allocations: 3.938 kB / 0.6767 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1872, allocations: 0 / 0.6767 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.1872, allocations: 4 kB / 0.6767 GB, free: 10.02 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.00234/0.1895, allocations: 1.391 MB / 0.6781 GB, free: 8.578 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.1896, allocations: 13.09 kB / 0.6781 GB, free: 8.566 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.1898, allocations: 123.4 kB / 0.6782 GB, free: 8.445 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001287/0.1911, allocations: 0.7665 MB / 0.679 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.672e-05/0.1912, allocations: 76.27 kB / 0.6791 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-05/0.1913, allocations: 72.38 kB / 0.6791 GB, free: 7.484 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001273/0.1926, allocations: 0.7329 MB / 0.6798 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.1926, allocations: 0 / 0.6798 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.267e-05/0.1927, allocations: 32 kB / 0.6799 GB, free: 6.684 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.1927, allocations: 16 kB / 0.6799 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001047/0.1937, allocations: 0.5204 MB / 0.6804 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003306/0.197, allocations: 2.24 MB / 0.6826 GB, free: 3.832 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001368/0.1984, allocations: 0.6193 MB / 0.6832 GB, free: 3.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005139/0.199, allocations: 266.4 kB / 0.6834 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 5.131e-05/0.199, allocations: 20.55 kB / 0.6835 GB, free: 2.922 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006388/0.1997, allocations: 319 kB / 0.6838 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.365e-06/0.1997, allocations: 0 / 0.6838 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001575/0.2013, allocations: 0.7556 MB / 0.6845 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.2013, allocations: 81.67 kB / 0.6846 GB, free: 1.738 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008381/0.2022, allocations: 0.7594 MB / 0.6853 GB, free: 0.9648 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.929e-05/0.2022, allocations: 41.69 kB / 0.6854 GB, free: 0.918 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003134/0.2025, allocations: 432.5 kB / 0.6858 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001514/0.2027, allocations: 212.9 kB / 0.686 GB, free: 288 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.2029, allocations: 110.3 kB / 0.6861 GB, free: 172 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.203, allocations: 326 kB / 0.6864 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.2035, allocations: 207.4 kB / 0.6866 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004997/0.204, allocations: 304.5 kB / 0.6869 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009407/0.2049, allocations: 0.5113 MB / 0.6874 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2049, allocations: 0 / 0.6874 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001184/0.2061, allocations: 0.6579 MB / 0.688 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.619e-05/0.2061, allocations: 8 kB / 0.688 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.2062, allocations: 0 / 0.688 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/0.2062, allocations: 8 kB / 0.688 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.2068, allocations: 139.8 kB / 0.6882 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.2069, allocations: 4 kB / 0.6882 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004122/0.2073, allocations: 79.47 kB / 0.6882 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.094e-05/0.2073, allocations: 31.91 kB / 0.6883 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005787/0.2079, allocations: 357.3 kB / 0.6886 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004554/0.2084, allocations: 296.5 kB / 0.6889 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000854/0.2092, allocations: 491.7 kB / 0.6894 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.094e-06/0.2093, allocations: 0 / 0.6894 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001076/0.2103, allocations: 0.6344 MB / 0.69 GB, free: 12.01 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.2104, allocations: 4 kB / 0.69 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2104, allocations: 4 kB / 0.69 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.2104, allocations: 12.19 kB / 0.69 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.211, allocations: 139.8 kB / 0.6901 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.211, allocations: 4 kB / 0.6901 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003833/0.2114, allocations: 55.5 kB / 0.6902 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.2114, allocations: 27.94 kB / 0.6902 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.0001889/0.2116, allocations: 212.1 kB / 0.6904 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.2117, allocations: 90.88 kB / 0.6905 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.212, allocations: 109.2 kB / 0.6906 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.212, allocations: 7.922 kB / 0.6906 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.212, allocations: 0 / 0.6906 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.2123, allocations: 227.6 kB / 0.6908 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.646e-05/0.2123, allocations: 8 kB / 0.6909 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003925/0.2127, allocations: 31.97 kB / 0.6909 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.173e-05/0.2128, allocations: 36.52 kB / 0.6909 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001524/0.2144, allocations: 0.6821 MB / 0.6916 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001662/0.2161, allocations: 1.071 MB / 0.6926 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004663/0.2165, allocations: 256.4 kB / 0.6929 GB, free: 8.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0006109/0.2171, allocations: 0.5185 MB / 0.6934 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of Backend: time 4.4e-07/0.2172, allocations: 0 / 0.6934 GB, free: 8.484 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001546/0.2187, allocations: 0.6867 MB / 0.694 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002795/0.2215, allocations: 2.047 MB / 0.696 GB, free: 5.699 MB / 0.5294 GB Notification: Performance of Templates: time 0.02044/0.242, allocations: 12.89 MB / 0.7086 GB, free: 8.922 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)