Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009156/0.0009156, allocations: 99.7 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.0008807/0.0008806, 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.368/1.368, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9689/0.9689, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003514/0.0003516, allocations: 11.98 kB / 0.5068 GB, free: 5.301 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1653/0.1657, allocations: 82.31 MB / 0.5872 GB, free: 3.168 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.003565/0.1693, allocations: 3.115 MB / 0.5902 GB, free: 36 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00239/0.1717, allocations: 1.196 MB / 0.5914 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006316/0.1724, allocations: 23.88 kB / 0.5914 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000183/0.1726, allocations: 51.39 kB / 0.5915 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007554/0.1734, allocations: 195.2 kB / 0.5917 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.1745, allocations: 462.9 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001062/0.1756, allocations: 0.61 MB / 0.5927 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.176, allocations: 255.1 kB / 0.5929 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003572/0.1763, allocations: 294.6 kB / 0.5932 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002647/0.1766, allocations: 262.4 kB / 0.5935 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.471e-05/0.1767, allocations: 20 kB / 0.5935 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.543e-05/0.1767, allocations: 24 kB / 0.5935 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.413e-05/0.1768, allocations: 103.4 kB / 0.5936 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.716e-05/0.1769, allocations: 137.3 kB / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004705/0.1774, allocations: 0.6198 MB / 0.5943 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.395e-06/0.1774, allocations: 3.938 kB / 0.5943 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1774, allocations: 4 kB / 0.5943 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.1774, allocations: 0 / 0.5943 GB, free: 11.79 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.001715/0.1792, allocations: 1.067 MB / 0.5954 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.1792, allocations: 8.031 kB / 0.5954 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.1793, allocations: 94.88 kB / 0.5955 GB, free: 10.56 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008343/0.1802, allocations: 0.5707 MB / 0.596 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001026/0.1803, allocations: 100.4 kB / 0.5961 GB, free: 9.844 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.493e-05/0.1804, allocations: 55.91 kB / 0.5962 GB, free: 9.789 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009517/0.1813, allocations: 0.608 MB / 0.5968 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1814, allocations: 7.938 kB / 0.5968 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.935e-05/0.1814, allocations: 23.94 kB / 0.5968 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/0.1814, allocations: 12 kB / 0.5968 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008679/0.1823, allocations: 443.6 kB / 0.5973 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00244/0.1848, allocations: 2.129 MB / 0.5993 GB, free: 6.453 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001191/0.186, allocations: 0.5358 MB / 0.5999 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.186, allocations: 4 kB / 0.5999 GB, free: 5.902 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006275/0.1866, allocations: 290.2 kB / 0.6001 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.415e-06/0.1867, allocations: 224 / 0.6001 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001343/0.188, allocations: 0.6344 MB / 0.6008 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.1881, allocations: 96.8 kB / 0.6008 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006107/0.1887, allocations: 0.61 MB / 0.6014 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.1887, allocations: 37.7 kB / 0.6015 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.189, allocations: 352.8 kB / 0.6018 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.1891, allocations: 165.6 kB / 0.602 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1891, allocations: 8 kB / 0.602 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.917e-05/0.1892, allocations: 329.9 kB / 0.6023 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.1896, allocations: 185 kB / 0.6025 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004492/0.1901, allocations: 284.2 kB / 0.6027 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004307/0.1905, allocations: 234.4 kB / 0.603 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.1905, allocations: 0 / 0.603 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001034/0.1916, allocations: 0.6102 MB / 0.6036 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003482/0.1919, allocations: 0.9907 MB / 0.6045 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.1919, allocations: 0 / 0.6045 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.192, allocations: 8 kB / 0.6045 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004444/0.1924, allocations: 111.8 kB / 0.6046 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.1924, allocations: 8 kB / 0.6047 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.1928, allocations: 71.41 kB / 0.6047 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.2e-05/0.1928, allocations: 16 kB / 0.6047 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.334e-06/0.1929, allocations: 4 kB / 0.6047 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008932/0.1938, allocations: 0.5037 MB / 0.6052 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-06/0.1938, allocations: 0 / 0.6052 GB, free: 196 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.931e-06/0.1938, allocations: 8.312 kB / 0.6052 GB, free: 188 kB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004004/0.1942, allocations: 111.8 kB / 0.6053 GB, free: 76 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1942, allocations: 7.953 kB / 0.6054 GB, free: 68 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003129/0.1945, allocations: 55.52 kB / 0.6054 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.3072/0.5017, allocations: 19.78 kB / 0.6054 GB, free: 48.72 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.0004561/0.5022, allocations: 269.6 kB / 0.6057 GB, free: 48.53 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001861/0.5024, allocations: 73.59 kB / 0.6058 GB, free: 48.53 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001444/0.5025, allocations: 81.86 kB / 0.6058 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.5026, allocations: 5.375 kB / 0.6058 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.5026, allocations: 2.797 kB / 0.6058 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-06/0.5026, allocations: 2.766 kB / 0.6058 GB, free: 48.52 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.5032, allocations: 0.6222 MB / 0.6064 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.439e-06/0.5032, allocations: 0.75 kB / 0.6065 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/0.5037, allocations: 88.7 kB / 0.6065 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.404e-06/0.5038, allocations: 5.219 kB / 0.6065 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.159e-05/0.5038, allocations: 13.8 kB / 0.6066 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.38e-06/0.5038, allocations: 1.688 kB / 0.6066 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.5038, allocations: 3.391 kB / 0.6066 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001323/0.5051, allocations: 0.7477 MB / 0.6073 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.5053, allocations: 193.9 kB / 0.6075 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.014e-05/0.5054, allocations: 9.812 kB / 0.6075 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003717/0.5058, allocations: 53.62 kB / 0.6075 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.764e-05/0.5059, allocations: 27.55 kB / 0.6076 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.221e-05/0.5059, allocations: 18.11 kB / 0.6076 GB, free: 48.17 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003742/0.5063, allocations: 424.5 kB / 0.608 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5063, allocations: 3.5 kB / 0.608 GB, free: 48.07 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005707/0.5069, allocations: 212.7 kB / 0.6082 GB, free: 48.05 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.0001309/0.507, allocations: 117 kB / 0.6083 GB, free: 47.97 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001324/0.5083, allocations: 0.8058 MB / 0.6091 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.5084, allocations: 3.75 kB / 0.6091 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.5088, allocations: 225.5 kB / 0.6093 GB, free: 47.83 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007448/0.5095, allocations: 172 kB / 0.6095 GB, free: 47.82 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.5113, allocations: 1.377 MB / 0.6108 GB, free: 47.13 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.5116, allocations: 0.9383 MB / 0.6117 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003188/0.5119, allocations: 92.88 kB / 0.6118 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001207/0.512, allocations: 46.59 kB / 0.6119 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of SimCode: time 2.01e-07/0.5121, allocations: 0 / 0.6119 GB, free: 46.43 MB / 0.4981 GB Notification: Performance of Templates: time 0.01049/0.5225, allocations: 6.874 MB / 0.6186 GB, free: 46.02 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: