Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.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.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001923/0.001924, allocations: 193.6 kB / 16.14 MB, free: 6.645 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.711/1.711, allocations: 222.9 MB / 239.8 MB, free: 4.59 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.167/1.167, allocations: 135.1 MB / 425.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 63.91 kB / 0.5047 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2218/0.2231, allocations: 80.92 MB / 0.5837 GB, free: 4.992 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005291/0.2284, allocations: 3.707 MB / 0.5873 GB, free: 1.262 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002879/0.2314, allocations: 1.301 MB / 0.5886 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004554/0.2319, allocations: 23.88 kB / 0.5886 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000357/0.2322, allocations: 95.09 kB / 0.5887 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004899/0.2327, allocations: 150.9 kB / 0.5888 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001124/0.2339, allocations: 0.5284 MB / 0.5894 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008456/0.2347, allocations: 0.8979 MB / 0.5902 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005649/0.2353, allocations: 341.6 kB / 0.5906 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.2357, allocations: 322.2 kB / 0.5909 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.2361, allocations: 326 kB / 0.5912 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.772e-05/0.2362, allocations: 40 kB / 0.5912 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.75e-05/0.2363, allocations: 40 kB / 0.5913 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001339/0.2364, allocations: 139.3 kB / 0.5914 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002855/0.2367, allocations: 337.7 kB / 0.5917 GB, free: 12.74 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0007021/0.2374, allocations: 0.8137 MB / 0.5925 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2374, allocations: 0 / 0.5925 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2374, allocations: 0 / 0.5925 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.2374, allocations: 0 / 0.5925 GB, free: 11.92 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002086/0.2395, allocations: 1.187 MB / 0.5937 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.2396, allocations: 8.031 kB / 0.5937 GB, free: 10.67 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001781/0.2398, allocations: 95.81 kB / 0.5938 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/0.2407, allocations: 0.5948 MB / 0.5943 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001096/0.2408, allocations: 101 kB / 0.5944 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.91e-05/0.2409, allocations: 52.38 kB / 0.5945 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.242, allocations: 0.6003 MB / 0.5951 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.242, allocations: 0 / 0.5951 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.696e-05/0.2421, allocations: 24 kB / 0.5951 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.467e-05/0.2421, allocations: 12 kB / 0.5951 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009302/0.243, allocations: 427.6 kB / 0.5955 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/0.2458, allocations: 2.11 MB / 0.5976 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.247, allocations: 0.4928 MB / 0.5981 GB, free: 5.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004459/0.2475, allocations: 227.2 kB / 0.5983 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.412e-05/0.2475, allocations: 4 kB / 0.5983 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007489/0.2483, allocations: 282.1 kB / 0.5986 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.504e-06/0.2483, allocations: 0 / 0.5986 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001444/0.2498, allocations: 0.6124 MB / 0.5992 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/0.2498, allocations: 92.86 kB / 0.5992 GB, free: 4.75 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000695/0.2505, allocations: 0.6176 MB / 0.5998 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.792e-05/0.2506, allocations: 33.7 kB / 0.5999 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002857/0.2509, allocations: 352.8 kB / 0.6002 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.251, allocations: 157.7 kB / 0.6004 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.2512, allocations: 98.16 kB / 0.6005 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001249/0.2513, allocations: 326 kB / 0.6008 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004546/0.2518, allocations: 187 kB / 0.6009 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004735/0.2523, allocations: 276.2 kB / 0.6012 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.2531, allocations: 477.9 kB / 0.6017 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/0.2531, allocations: 11.88 kB / 0.6017 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001153/0.2543, allocations: 0.5945 MB / 0.6023 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.2544, allocations: 33.7 kB / 0.6023 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.2544, allocations: 7.984 kB / 0.6023 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.2544, allocations: 4 kB / 0.6023 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.2549, allocations: 107.8 kB / 0.6024 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.2549, allocations: 4 kB / 0.6024 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003811/0.2553, allocations: 63.5 kB / 0.6025 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.486e-05/0.2553, allocations: 20.16 kB / 0.6025 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005741/0.2559, allocations: 309.2 kB / 0.6028 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004291/0.2563, allocations: 272.2 kB / 0.603 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007796/0.2571, allocations: 450 kB / 0.6035 GB, free: 212 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.064e-06/0.2571, allocations: 0 / 0.6035 GB, free: 212 kB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.4489/0.7061, allocations: 0.5816 MB / 0.604 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.746e-05/0.7062, allocations: 36.14 kB / 0.6041 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.7062, allocations: 5.312 kB / 0.6041 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.7063, allocations: 4.141 kB / 0.6041 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005388/0.7068, allocations: 107 kB / 0.6042 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.609e-05/0.7068, allocations: 4.312 kB / 0.6042 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006338/0.7075, allocations: 46.31 kB / 0.6042 GB, free: 51.9 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.285e-05/0.7075, allocations: 18.98 kB / 0.6042 GB, free: 51.9 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * 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.0003172/0.7079, allocations: 215.4 kB / 0.6045 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.7081, allocations: 76.47 kB / 0.6045 GB, free: 51.72 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000297/0.7085, allocations: 80.95 kB / 0.6046 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.7085, allocations: 2.75 kB / 0.6046 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.7085, allocations: 2.719 kB / 0.6046 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.7085, allocations: 2.578 kB / 0.6046 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009832/0.7095, allocations: 0.6236 MB / 0.6052 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.7095, allocations: 0 / 0.6052 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004745/0.71, allocations: 82.23 kB / 0.6053 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.71, allocations: 4.156 kB / 0.6053 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.491e-05/0.7101, allocations: 10.28 kB / 0.6053 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.063e-06/0.7101, allocations: 3.312 kB / 0.6053 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.7101, allocations: 7.438 kB / 0.6053 GB, free: 51.52 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001588/0.7117, allocations: 0.7225 MB / 0.606 GB, free: 51.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003115/0.712, allocations: 197.4 kB / 0.6062 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.7121, allocations: 10.69 kB / 0.6062 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000436/0.7126, allocations: 30.28 kB / 0.6063 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/0.7127, allocations: 31.12 kB / 0.6063 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.494e-05/0.7128, allocations: 26.22 kB / 0.6063 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005943/0.7134, allocations: 434.5 kB / 0.6067 GB, free: 51.22 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.7134, allocations: 1.203 kB / 0.6067 GB, free: 51.22 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007695/0.7141, allocations: 215.9 kB / 0.6069 GB, free: 51.2 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001736/0.7143, allocations: 110.1 kB / 0.607 GB, free: 51.12 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.7161, allocations: 0.786 MB / 0.6078 GB, free: 50.91 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.7161, allocations: 0.75 kB / 0.6078 GB, free: 50.91 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.7165, allocations: 225.6 kB / 0.608 GB, free: 50.84 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009691/0.7175, allocations: 183.8 kB / 0.6082 GB, free: 50.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002436/0.7199, allocations: 1.439 MB / 0.6096 GB, free: 49.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004207/0.7204, allocations: 0.9129 MB / 0.6105 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004808/0.7209, allocations: 94.3 kB / 0.6106 GB, free: 49.21 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.721, allocations: 47.41 kB / 0.6106 GB, free: 49.2 MB / 0.4981 GB Notification: Performance of SimCode: time 5.81e-07/0.721, allocations: 3.656 kB / 0.6106 GB, free: 49.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.01592/0.737, allocations: 7.188 MB / 0.6177 GB, free: 48.82 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)