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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 183.1 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.707/0.707, allocations: 133.3 MB / 150.1 MB, free: 11.16 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 404.7 MB, free: 5.996 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 99.7 kB / 485.9 MB, free: 7.141 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001071/0.001071, allocations: 47.92 kB / 0.5636 GB, free: 69.89 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1591, allocations: 80.42 MB / 0.6421 GB, free: 5.402 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005647/0.1648, allocations: 3.719 MB / 0.6458 GB, free: 1.66 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002856/0.1677, allocations: 1.297 MB / 0.647 GB, free: 364 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007132/0.1685, allocations: 23.88 kB / 0.647 GB, free: 340 kB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005026/0.169, allocations: 95.09 kB / 0.6471 GB, free: 244 kB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008184/0.1699, allocations: 139 kB / 0.6473 GB, free: 104 kB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.1714, allocations: 0.5417 MB / 0.6478 GB, free: 15.57 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1726, allocations: 0.8979 MB / 0.6487 GB, free: 14.67 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006202/0.1733, allocations: 341.5 kB / 0.649 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005639/0.1738, allocations: 330.2 kB / 0.6493 GB, free: 14 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.1744, allocations: 322 kB / 0.6496 GB, free: 13.68 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001777/0.1745, allocations: 36 kB / 0.6497 GB, free: 13.64 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.1747, allocations: 40 kB / 0.6497 GB, free: 13.61 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001565/0.1749, allocations: 139.3 kB / 0.6498 GB, free: 13.47 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003817/0.1752, allocations: 345.7 kB / 0.6502 GB, free: 13.13 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007609/0.176, allocations: 0.8176 MB / 0.651 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.176, allocations: 0 / 0.651 GB, free: 12.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.176, allocations: 0 / 0.651 GB, free: 12.31 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.323e-05/0.1761, allocations: 0 / 0.651 GB, free: 12.31 MB / 458.7 MB 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.002666/0.1788, allocations: 1.18 MB / 0.6521 GB, free: 11.07 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1788, allocations: 8.031 kB / 0.6521 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002363/0.179, allocations: 99.8 kB / 0.6522 GB, free: 10.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.1802, allocations: 0.5948 MB / 0.6528 GB, free: 10.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1803, allocations: 92.97 kB / 0.6529 GB, free: 10.23 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.694e-05/0.1804, allocations: 60.28 kB / 0.6529 GB, free: 10.17 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.1816, allocations: 0.6042 MB / 0.6535 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1816, allocations: 0 / 0.6535 GB, free: 9.527 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.272e-05/0.1817, allocations: 20 kB / 0.6535 GB, free: 9.508 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.1817, allocations: 16 kB / 0.6536 GB, free: 9.492 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.1828, allocations: 423.6 kB / 0.654 GB, free: 9.074 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002891/0.1857, allocations: 2.106 MB / 0.656 GB, free: 6.887 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001282/0.187, allocations: 0.4995 MB / 0.6565 GB, free: 6.375 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004964/0.1875, allocations: 223 kB / 0.6567 GB, free: 6.156 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.1875, allocations: 12 kB / 0.6567 GB, free: 6.145 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007485/0.1883, allocations: 277.9 kB / 0.657 GB, free: 5.859 MB / 458.7 MB Notification: Performance of pre-optimization done (n=45): time 2.505e-06/0.1883, allocations: 0 / 0.657 GB, free: 5.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=45): time 0.001569/0.1899, allocations: 0.6152 MB / 0.6576 GB, free: 5.238 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.655e-05/0.1899, allocations: 88.8 kB / 0.6577 GB, free: 5.133 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007081/0.1907, allocations: 0.6138 MB / 0.6583 GB, free: 4.508 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.311e-05/0.1907, allocations: 37.7 kB / 0.6583 GB, free: 4.465 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.191, allocations: 352.8 kB / 0.6587 GB, free: 4.117 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1911, allocations: 165.6 kB / 0.6588 GB, free: 3.953 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001539/0.1913, allocations: 90.25 kB / 0.6589 GB, free: 3.859 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.1914, allocations: 330 kB / 0.6592 GB, free: 3.531 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000464/0.1919, allocations: 175 kB / 0.6594 GB, free: 3.355 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.1924, allocations: 280.2 kB / 0.6597 GB, free: 3.047 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009713/0.1934, allocations: 477.9 kB / 0.6601 GB, free: 2.539 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.47e-06/0.1934, allocations: 3.938 kB / 0.6601 GB, free: 2.535 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001274/0.1947, allocations: 0.5982 MB / 0.6607 GB, free: 1.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.507e-05/0.1947, allocations: 37.69 kB / 0.6607 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.1947, allocations: 320 / 0.6607 GB, free: 1.879 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.18e-05/0.1948, allocations: 12 kB / 0.6607 GB, free: 1.867 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.1953, allocations: 107.8 kB / 0.6608 GB, free: 1.762 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.1953, allocations: 4 kB / 0.6609 GB, free: 1.758 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000426/0.1958, allocations: 63.41 kB / 0.6609 GB, free: 1.695 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.1958, allocations: 23.94 kB / 0.6609 GB, free: 1.672 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006076/0.1964, allocations: 309.2 kB / 0.6612 GB, free: 1.363 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004758/0.1969, allocations: 264.2 kB / 0.6615 GB, free: 1.074 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000903/0.1978, allocations: 458 kB / 0.6619 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.356e-06/0.1979, allocations: 0 / 0.6619 GB, free: 0.5859 MB / 458.7 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001179/0.199, allocations: 0.5825 MB / 0.6625 GB, free: 15.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.309e-05/0.1991, allocations: 33.7 kB / 0.6625 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1991, allocations: 4 kB / 0.6625 GB, free: 15.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.527e-06/0.1991, allocations: 4 kB / 0.6625 GB, free: 15.94 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.1996, allocations: 103.8 kB / 0.6626 GB, free: 15.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.1996, allocations: 16.31 kB / 0.6626 GB, free: 15.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003923/0.2, allocations: 43.67 kB / 0.6627 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/0.2001, allocations: 23.94 kB / 0.6627 GB, free: 15.76 MB / 474.7 MB 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.0001818/0.2003, allocations: 223.7 kB / 0.6629 GB, free: 15.54 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.57e-05/0.2004, allocations: 71.06 kB / 0.663 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001804/0.2005, allocations: 79.22 kB / 0.6631 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.68e-06/0.2006, allocations: 4 kB / 0.6631 GB, free: 15.38 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.2006, allocations: 4 kB / 0.6631 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.957e-06/0.2006, allocations: 7.984 kB / 0.6631 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006905/0.2013, allocations: 0.618 MB / 0.6637 GB, free: 14.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2013, allocations: 3.938 kB / 0.6637 GB, free: 14.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005235/0.2018, allocations: 83.88 kB / 0.6638 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.2019, allocations: 4 kB / 0.6638 GB, free: 14.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.478e-05/0.2019, allocations: 8 kB / 0.6638 GB, free: 14.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.2019, allocations: 4 kB / 0.6638 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2019, allocations: 0 / 0.6638 GB, free: 14.59 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008045/0.21, allocations: 4.355 MB / 0.668 GB, free: 10.09 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.2102, allocations: 196 kB / 0.6682 GB, free: 9.879 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.989e-05/0.2103, allocations: 11.94 kB / 0.6682 GB, free: 9.867 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000419/0.2108, allocations: 35.95 kB / 0.6683 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.2109, allocations: 31.95 kB / 0.6683 GB, free: 9.801 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.776e-05/0.2109, allocations: 12 kB / 0.6683 GB, free: 9.789 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0004913/0.2114, allocations: 435 kB / 0.6687 GB, free: 9.367 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.2114, allocations: 4 kB / 0.6687 GB, free: 9.363 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009192/0.2123, allocations: 303.3 kB / 0.669 GB, free: 9.066 MB / 474.7 MB 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.0001522/0.2125, allocations: 111.2 kB / 0.6691 GB, free: 8.945 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.2142, allocations: 0.7849 MB / 0.6699 GB, free: 8.137 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.2142, allocations: 0 / 0.6699 GB, free: 8.137 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005106/0.2148, allocations: 224.3 kB / 0.6701 GB, free: 7.918 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009563/0.2157, allocations: 198.9 kB / 0.6703 GB, free: 7.734 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002486/0.2182, allocations: 1.731 MB / 0.672 GB, free: 5.953 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.2187, allocations: 0.9263 MB / 0.6729 GB, free: 5 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004364/0.2191, allocations: 97.11 kB / 0.673 GB, free: 4.902 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001683/0.2193, allocations: 55.42 kB / 0.673 GB, free: 4.848 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2193, allocations: 0 / 0.673 GB, free: 4.848 MB / 474.7 MB Notification: Performance of Templates: time 0.01468/0.234, allocations: 8.344 MB / 0.6812 GB, free: 12.58 MB / 490.7 MB 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)