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.0008829/0.0008828, allocations: 99.47 kB / 15.05 MB, free: 1.105 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.0008517/0.0008517, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.263/1.263, allocations: 223.2 MB / 239.9 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8804/0.8804, allocations: 135.2 MB / 426.2 MB, free: 14.25 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 8.719 kB / 0.5068 GB, free: 5.234 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1778/0.1781, allocations: 82.32 MB / 0.5872 GB, free: 3.098 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.003401/0.1816, allocations: 3.123 MB / 0.5902 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002038/0.1837, allocations: 1.196 MB / 0.5914 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003116/0.184, allocations: 23.88 kB / 0.5914 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.329e-05/0.1841, allocations: 51.38 kB / 0.5915 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005338/0.1846, allocations: 187.3 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001004/0.1857, allocations: 467.9 kB / 0.5921 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008163/0.1865, allocations: 0.61 MB / 0.5927 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.1869, allocations: 255.1 kB / 0.5929 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.1872, allocations: 294.6 kB / 0.5932 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002711/0.1875, allocations: 258.4 kB / 0.5935 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.1876, allocations: 20 kB / 0.5935 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.576e-05/0.1877, allocations: 23.94 kB / 0.5935 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.979e-05/0.1878, allocations: 111.4 kB / 0.5936 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001099/0.1879, allocations: 137.3 kB / 0.5937 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004907/0.1884, allocations: 0.6198 MB / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.1884, allocations: 0 / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.1884, allocations: 0 / 0.5943 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.1884, allocations: 0 / 0.5943 GB, free: 11.72 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.001749/0.1902, allocations: 1.067 MB / 0.5954 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.1902, allocations: 12.03 kB / 0.5954 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001423/0.1904, allocations: 98.81 kB / 0.5955 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1914, allocations: 0.5707 MB / 0.5961 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.1916, allocations: 92.41 kB / 0.5961 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001045/0.1917, allocations: 63.89 kB / 0.5962 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001373/0.1931, allocations: 0.6041 MB / 0.5968 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.32e-05/0.1931, allocations: 0 / 0.5968 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/0.1932, allocations: 24 kB / 0.5968 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.1932, allocations: 12 kB / 0.5968 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008907/0.1941, allocations: 439.6 kB / 0.5972 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002559/0.1967, allocations: 2.133 MB / 0.5993 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.1978, allocations: 0.5359 MB / 0.5999 GB, free: 5.84 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.382e-05/0.1979, allocations: 8.109 kB / 0.5999 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006257/0.1985, allocations: 294.1 kB / 0.6001 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 1.814e-06/0.1986, allocations: 4 kB / 0.6001 GB, free: 5.527 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001357/0.1999, allocations: 0.6384 MB / 0.6008 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/0.2, allocations: 84.86 kB / 0.6008 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006337/0.2006, allocations: 0.61 MB / 0.6014 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.2007, allocations: 37.7 kB / 0.6015 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.2009, allocations: 356.8 kB / 0.6018 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001193/0.2011, allocations: 157.7 kB / 0.602 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.2011, allocations: 8 kB / 0.602 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.2012, allocations: 329.9 kB / 0.6023 GB, free: 3.27 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004049/0.2016, allocations: 185 kB / 0.6025 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.2021, allocations: 284.2 kB / 0.6027 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004425/0.2025, allocations: 230.4 kB / 0.603 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.2025, allocations: 4 kB / 0.603 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001084/0.2036, allocations: 0.61 MB / 0.6036 GB, free: 1.922 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003727/0.204, allocations: 0.993 MB / 0.6045 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.204, allocations: 4 kB / 0.6045 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.204, allocations: 4 kB / 0.6045 GB, free: 0.8438 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004462/0.2045, allocations: 119.8 kB / 0.6047 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.2045, allocations: 4 kB / 0.6047 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003561/0.2049, allocations: 71.41 kB / 0.6047 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.2049, allocations: 16 kB / 0.6047 GB, free: 0.6367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.044e-06/0.2049, allocations: 4 kB / 0.6047 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000876/0.2058, allocations: 0.4998 MB / 0.6052 GB, free: 128 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.2058, allocations: 4.312 kB / 0.6052 GB, free: 124 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/0.2058, allocations: 8 kB / 0.6052 GB, free: 116 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000396/0.2062, allocations: 103.8 kB / 0.6053 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2788/0.4851, allocations: 13.44 kB / 0.6054 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.4857, allocations: 55.67 kB / 0.6054 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.4858, allocations: 19.95 kB / 0.6054 GB, free: 48.48 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003429/0.4861, allocations: 272.2 kB / 0.6057 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.973e-05/0.4862, allocations: 71.06 kB / 0.6058 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001343/0.4864, allocations: 79.73 kB / 0.6058 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.303e-06/0.4864, allocations: 7.25 kB / 0.6058 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.4864, allocations: 2.812 kB / 0.6058 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.245e-06/0.4864, allocations: 6.328 kB / 0.6058 GB, free: 48.29 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005293/0.487, allocations: 0.6259 MB / 0.6065 GB, free: 48.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.487, allocations: 0 / 0.6065 GB, free: 48.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004104/0.4874, allocations: 88.78 kB / 0.6065 GB, free: 48.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.4874, allocations: 4.469 kB / 0.6065 GB, free: 48.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.763e-05/0.4874, allocations: 12.66 kB / 0.6066 GB, free: 48.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.12e-06/0.4874, allocations: 5.812 kB / 0.6066 GB, free: 48.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4874, allocations: 0 / 0.6066 GB, free: 48.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.4887, allocations: 0.7496 MB / 0.6073 GB, free: 48.04 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001668/0.4889, allocations: 194.1 kB / 0.6075 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.583e-05/0.4889, allocations: 9.844 kB / 0.6075 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003517/0.4893, allocations: 49.97 kB / 0.6075 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.784e-05/0.4894, allocations: 28.7 kB / 0.6076 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.4894, allocations: 18.42 kB / 0.6076 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003381/0.4898, allocations: 420 kB / 0.608 GB, free: 47.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4898, allocations: 0 / 0.608 GB, free: 47.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005047/0.4903, allocations: 220.8 kB / 0.6082 GB, free: 47.81 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001052/0.4904, allocations: 109.6 kB / 0.6083 GB, free: 47.72 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.4916, allocations: 0.8114 MB / 0.6091 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.4916, allocations: 0 / 0.6091 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.492, allocations: 230.1 kB / 0.6093 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006721/0.4927, allocations: 180.6 kB / 0.6095 GB, free: 47.59 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.4943, allocations: 1.38 MB / 0.6108 GB, free: 46.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002494/0.4945, allocations: 0.9314 MB / 0.6117 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000301/0.4949, allocations: 89.98 kB / 0.6118 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.495, allocations: 48.92 kB / 0.6119 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.495, allocations: 0 / 0.6119 GB, free: 46.19 MB / 0.4981 GB Notification: Performance of Templates: time 0.009669/0.5047, allocations: 6.874 MB / 0.6186 GB, free: 45.79 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: