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.001356/0.001356, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001299/0.001299, allocations: 187 kB / 17.34 MB, free: 5.766 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7978/0.7978, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 62.38 kB / 0.5862 GB, free: 21.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1699/0.1711, allocations: 80.93 MB / 0.6653 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005359/0.1765, allocations: 3.704 MB / 0.6689 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002986/0.1795, allocations: 1.328 MB / 0.6702 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007902/0.1804, allocations: 27.88 kB / 0.6702 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005012/0.1809, allocations: 130.6 kB / 0.6703 GB, free: 0.6094 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009354/0.1819, allocations: 162.6 kB / 0.6705 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.1833, allocations: 0.5782 MB / 0.6711 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.1844, allocations: 0.9603 MB / 0.672 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005212/0.1849, allocations: 357.5 kB / 0.6723 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004349/0.1854, allocations: 374.4 kB / 0.6727 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.1857, allocations: 361.9 kB / 0.673 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001021/0.1859, allocations: 76 kB / 0.6731 GB, free: 13.76 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 8.97e-05/0.186, allocations: 80 kB / 0.6732 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.1861, allocations: 183.2 kB / 0.6734 GB, free: 13.5 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.1864, allocations: 377.7 kB / 0.6737 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0008568/0.1873, allocations: 0.8911 MB / 0.6746 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1873, allocations: 0 / 0.6746 GB, free: 12.24 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1873, allocations: 4 kB / 0.6746 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.1873, allocations: 0 / 0.6746 GB, free: 12.23 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001933/0.1893, allocations: 1.176 MB / 0.6757 GB, free: 11 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.1893, allocations: 9.109 kB / 0.6757 GB, free: 11 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001472/0.1895, allocations: 95.81 kB / 0.6758 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001011/0.1905, allocations: 0.6221 MB / 0.6764 GB, free: 10.23 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.1906, allocations: 92.97 kB / 0.6765 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.1907, allocations: 68.22 kB / 0.6766 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/0.1917, allocations: 0.6003 MB / 0.6772 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.1917, allocations: 0 / 0.6772 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-05/0.1918, allocations: 24 kB / 0.6772 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.1918, allocations: 16 kB / 0.6772 GB, free: 9.383 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008712/0.1927, allocations: 423.6 kB / 0.6776 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.1954, allocations: 2.102 MB / 0.6797 GB, free: 6.781 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001116/0.1965, allocations: 499.8 kB / 0.6802 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000428/0.1969, allocations: 226.6 kB / 0.6804 GB, free: 6.059 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.197, allocations: 8 kB / 0.6804 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005949/0.1976, allocations: 278.3 kB / 0.6806 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.335e-06/0.1976, allocations: 0 / 0.6806 GB, free: 5.766 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001416/0.199, allocations: 0.6112 MB / 0.6812 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.1991, allocations: 84.86 kB / 0.6813 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006944/0.1998, allocations: 0.6138 MB / 0.6819 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.807e-05/0.1999, allocations: 41.7 kB / 0.682 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002615/0.2001, allocations: 352.8 kB / 0.6823 GB, free: 4.027 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/0.2003, allocations: 161.7 kB / 0.6825 GB, free: 3.867 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.2004, allocations: 90.25 kB / 0.6825 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.2006, allocations: 333.9 kB / 0.6829 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/0.201, allocations: 179 kB / 0.683 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000459/0.2014, allocations: 276.2 kB / 0.6833 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008416/0.2023, allocations: 473.9 kB / 0.6837 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.2023, allocations: 7.938 kB / 0.6838 GB, free: 2.441 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001135/0.2034, allocations: 0.5982 MB / 0.6843 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/0.2035, allocations: 41.62 kB / 0.6844 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.2035, allocations: 320 / 0.6844 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.2035, allocations: 12 kB / 0.6844 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004845/0.204, allocations: 107.8 kB / 0.6845 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.204, allocations: 4 kB / 0.6845 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003706/0.2044, allocations: 67.41 kB / 0.6846 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.381e-05/0.2045, allocations: 16 kB / 0.6846 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005167/0.205, allocations: 309.2 kB / 0.6849 GB, free: 1.273 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004233/0.2054, allocations: 268.2 kB / 0.6851 GB, free: 0.9727 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007618/0.2062, allocations: 454 kB / 0.6856 GB, free: 500 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.623e-06/0.2062, allocations: 0 / 0.6856 GB, free: 500 kB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001018/0.2072, allocations: 0.5825 MB / 0.6861 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.871e-05/0.2073, allocations: 33.7 kB / 0.6862 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.2073, allocations: 4 kB / 0.6862 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.031e-06/0.2073, allocations: 4 kB / 0.6862 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004121/0.2077, allocations: 108.1 kB / 0.6863 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2077, allocations: 8 kB / 0.6863 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.2081, allocations: 43.67 kB / 0.6863 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.386e-05/0.2081, allocations: 20 kB / 0.6863 GB, free: 15.67 MB / 0.5294 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.0002013/0.2083, allocations: 225.4 kB / 0.6866 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.2084, allocations: 75.06 kB / 0.6866 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.2086, allocations: 75.22 kB / 0.6867 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.2086, allocations: 4 kB / 0.6867 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2086, allocations: 8 kB / 0.6867 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.683e-06/0.2086, allocations: 3.984 kB / 0.6867 GB, free: 15.28 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.2093, allocations: 0.618 MB / 0.6873 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.2093, allocations: 4 kB / 0.6873 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004269/0.2097, allocations: 83.88 kB / 0.6874 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/0.2098, allocations: 4 kB / 0.6874 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.2098, allocations: 8 kB / 0.6874 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.2098, allocations: 4 kB / 0.6874 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.2098, allocations: 0 / 0.6874 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001409/0.2112, allocations: 0.7392 MB / 0.6881 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002288/0.2115, allocations: 192 kB / 0.6883 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.023e-05/0.2115, allocations: 8 kB / 0.6883 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003601/0.2119, allocations: 39.95 kB / 0.6884 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.147e-05/0.212, allocations: 31.95 kB / 0.6884 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.177e-05/0.212, allocations: 15.98 kB / 0.6884 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0004987/0.2126, allocations: 427.1 kB / 0.6888 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2126, allocations: 0 / 0.6888 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006035/0.2132, allocations: 219.4 kB / 0.689 GB, free: 12.82 MB / 0.5294 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.0001493/0.2133, allocations: 112.4 kB / 0.6891 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001503/0.2148, allocations: 0.7848 MB / 0.6899 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2148, allocations: 0 / 0.6899 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004322/0.2153, allocations: 216.6 kB / 0.6901 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008638/0.2162, allocations: 212.5 kB / 0.6903 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00201/0.2182, allocations: 1.201 MB / 0.6915 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004933/0.2187, allocations: 0.9217 MB / 0.6924 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.2189, allocations: 55.42 kB / 0.6924 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.2189, allocations: 0 / 0.6924 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of Templates: time 0.01383/0.2327, allocations: 8.823 MB / 0.7011 GB, free: 476 kB / 0.5294 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)