Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.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/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/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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001849/0.001849, allocations: 182.2 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/package.mo): time 0.7094/0.7094, allocations: 132.2 MB / 148.9 MB, free: 12.15 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.379/1.379, allocations: 222.9 MB / 403.3 MB, free: 7.082 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.00122/0.001219, allocations: 107 kB / 484.4 MB, free: 8.699 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 55.91 kB / 0.5618 GB, free: 71.05 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1549, allocations: 80.2 MB / 0.6402 GB, free: 6.781 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005364/0.1603, allocations: 4.33 MB / 0.6444 GB, free: 2.426 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003204/0.1636, allocations: 1.542 MB / 0.6459 GB, free: 0.875 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005438/0.1642, allocations: 35.81 kB / 0.6459 GB, free: 0.8398 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.1645, allocations: 118.9 kB / 0.646 GB, free: 0.7227 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005994/0.1652, allocations: 187.4 kB / 0.6462 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001292/0.1665, allocations: 0.6167 MB / 0.6468 GB, free: 15.93 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.1677, allocations: 1.152 MB / 0.6479 GB, free: 14.77 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007997/0.1685, allocations: 496.1 kB / 0.6484 GB, free: 14.26 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005027/0.169, allocations: 413.8 kB / 0.6488 GB, free: 13.86 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004666/0.1695, allocations: 429.4 kB / 0.6492 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.1696, allocations: 48 kB / 0.6493 GB, free: 13.39 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.1697, allocations: 48 kB / 0.6493 GB, free: 13.34 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1699, allocations: 179.1 kB / 0.6495 GB, free: 13.16 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003431/0.1702, allocations: 437 kB / 0.6499 GB, free: 12.73 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008484/0.1711, allocations: 1.059 MB / 0.6509 GB, free: 11.67 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.1711, allocations: 0 / 0.6509 GB, free: 11.67 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.1711, allocations: 0 / 0.6509 GB, free: 11.67 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1711, allocations: 0 / 0.6509 GB, free: 11.67 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002433/0.1736, allocations: 1.391 MB / 0.6523 GB, free: 10.23 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1736, allocations: 12.03 kB / 0.6523 GB, free: 10.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001819/0.1738, allocations: 119.4 kB / 0.6524 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001158/0.175, allocations: 0.7392 MB / 0.6531 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001028/0.1751, allocations: 80.27 kB / 0.6532 GB, free: 9.234 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.433e-05/0.1752, allocations: 76.22 kB / 0.6533 GB, free: 9.16 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/0.1764, allocations: 0.7329 MB / 0.654 GB, free: 8.395 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.1764, allocations: 0 / 0.654 GB, free: 8.395 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.906e-05/0.1765, allocations: 32 kB / 0.654 GB, free: 8.363 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.802e-05/0.1765, allocations: 19.98 kB / 0.6541 GB, free: 8.344 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.1776, allocations: 0.5204 MB / 0.6546 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003214/0.1808, allocations: 2.271 MB / 0.6568 GB, free: 5.473 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.1823, allocations: 0.6253 MB / 0.6574 GB, free: 4.84 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005052/0.1828, allocations: 271.1 kB / 0.6576 GB, free: 4.574 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/0.1829, allocations: 12.56 kB / 0.6577 GB, free: 4.562 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007234/0.1836, allocations: 319 kB / 0.658 GB, free: 4.238 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 2.244e-06/0.1836, allocations: 0 / 0.658 GB, free: 4.238 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.001593/0.1852, allocations: 0.7594 MB / 0.6587 GB, free: 3.473 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.555e-05/0.1853, allocations: 81.67 kB / 0.6588 GB, free: 3.375 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008644/0.1862, allocations: 0.7633 MB / 0.6595 GB, free: 2.598 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.662e-05/0.1862, allocations: 41.69 kB / 0.6596 GB, free: 2.551 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002989/0.1865, allocations: 436.5 kB / 0.66 GB, free: 2.121 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001473/0.1867, allocations: 205 kB / 0.6602 GB, free: 1.918 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001582/0.1868, allocations: 110.3 kB / 0.6603 GB, free: 1.805 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.187, allocations: 326 kB / 0.6606 GB, free: 1.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.1874, allocations: 211.4 kB / 0.6608 GB, free: 1.27 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004984/0.1879, allocations: 300.5 kB / 0.6611 GB, free: 0.9453 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009285/0.1889, allocations: 0.5113 MB / 0.6616 GB, free: 416 kB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.1889, allocations: 4 kB / 0.6616 GB, free: 412 kB / 458.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001205/0.1901, allocations: 0.6538 MB / 0.6622 GB, free: 15.74 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.1901, allocations: 8.625 kB / 0.6622 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.444e-06/0.1901, allocations: 0 / 0.6622 GB, free: 15.73 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.1902, allocations: 8 kB / 0.6622 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.1908, allocations: 148 kB / 0.6624 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.1908, allocations: 7.938 kB / 0.6624 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004239/0.1913, allocations: 71.34 kB / 0.6625 GB, free: 15.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.461e-05/0.1913, allocations: 20 kB / 0.6625 GB, free: 15.48 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005811/0.1919, allocations: 361.3 kB / 0.6628 GB, free: 15.12 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004543/0.1924, allocations: 292.5 kB / 0.6631 GB, free: 14.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008422/0.1932, allocations: 499.7 kB / 0.6636 GB, free: 14.28 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.713e-06/0.1932, allocations: 0 / 0.6636 GB, free: 14.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001075/0.1943, allocations: 0.6307 MB / 0.6642 GB, free: 13.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.134e-05/0.1943, allocations: 8.031 kB / 0.6642 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1943, allocations: 4 kB / 0.6642 GB, free: 13.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.325e-06/0.1944, allocations: 4 kB / 0.6642 GB, free: 13.63 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000577/0.1949, allocations: 143.7 kB / 0.6643 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.195, allocations: 4 kB / 0.6644 GB, free: 13.49 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003946/0.1954, allocations: 59.45 kB / 0.6644 GB, free: 13.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.1954, allocations: 23.98 kB / 0.6644 GB, free: 13.41 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001973/0.1956, allocations: 218.5 kB / 0.6646 GB, free: 13.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.1957, allocations: 90.88 kB / 0.6647 GB, free: 13.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.1959, allocations: 101.2 kB / 0.6648 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.1959, allocations: 4 kB / 0.6648 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.196, allocations: 3.938 kB / 0.6648 GB, free: 12.99 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.196, allocations: 7.984 kB / 0.6648 GB, free: 12.98 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002137/0.1981, allocations: 1.438 MB / 0.6662 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.1981, allocations: 0 / 0.6662 GB, free: 11.48 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005402/0.1987, allocations: 111.8 kB / 0.6663 GB, free: 11.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.1987, allocations: 4 kB / 0.6664 GB, free: 11.37 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.052e-05/0.1987, allocations: 23.98 kB / 0.6664 GB, free: 11.35 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.1988, allocations: 3.938 kB / 0.6664 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1988, allocations: 4 kB / 0.6664 GB, free: 11.34 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00884/0.2076, allocations: 5.331 MB / 0.6716 GB, free: 5.863 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002757/0.2079, allocations: 219.7 kB / 0.6718 GB, free: 5.629 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.104e-05/0.208, allocations: 19.98 kB / 0.6718 GB, free: 5.609 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004213/0.2084, allocations: 27.97 kB / 0.6718 GB, free: 5.582 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.556e-05/0.2085, allocations: 36.52 kB / 0.6719 GB, free: 5.547 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.2086, allocations: 19.98 kB / 0.6719 GB, free: 5.527 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000595/0.2092, allocations: 0.5185 MB / 0.6724 GB, free: 5.012 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2092, allocations: 0 / 0.6724 GB, free: 5.012 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001028/0.2102, allocations: 387 kB / 0.6728 GB, free: 4.633 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001469/0.2104, allocations: 119.1 kB / 0.6729 GB, free: 4.508 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001615/0.212, allocations: 0.7917 MB / 0.6737 GB, free: 3.715 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.212, allocations: 0 / 0.6737 GB, free: 3.715 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004998/0.2125, allocations: 268 kB / 0.6739 GB, free: 3.457 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001179/0.2137, allocations: 246.5 kB / 0.6742 GB, free: 3.215 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002958/0.2167, allocations: 2.26 MB / 0.6764 GB, free: 0.9062 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005495/0.2173, allocations: 1.006 MB / 0.6773 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006051/0.2179, allocations: 126.7 kB / 0.6775 GB, free: 15.75 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002022/0.2181, allocations: 67.36 kB / 0.6775 GB, free: 15.68 MB / 490.7 MB Notification: Performance of SimCode: time 4.5e-07/0.2181, allocations: 0 / 0.6775 GB, free: 15.68 MB / 490.7 MB Notification: Performance of Templates: time 0.01788/0.236, allocations: 10.23 MB / 0.6875 GB, free: 5.559 MB / 490.7 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)