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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 119.1 kB / 16.42 MB, free: 6.484 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.001316/0.001316, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.361/1.361, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8044/0.8044, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 65.88 kB / 0.582 GB, free: 24.02 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1514, allocations: 80.21 MB / 0.6603 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.00543/0.1568, allocations: 4.328 MB / 0.6645 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003393/0.1602, allocations: 1.585 MB / 0.6661 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009166/0.1612, allocations: 35.81 kB / 0.6661 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005/0.1617, allocations: 170.2 kB / 0.6663 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0007801/0.1625, allocations: 242.1 kB / 0.6665 GB, free: 3.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001357/0.1639, allocations: 0.6669 MB / 0.6672 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.1651, allocations: 1.222 MB / 0.6684 GB, free: 2.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007291/0.1658, allocations: 0.4962 MB / 0.6688 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005715/0.1664, allocations: 485.9 kB / 0.6693 GB, free: 1.074 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004226/0.1668, allocations: 457.4 kB / 0.6697 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.1669, allocations: 104 kB / 0.6698 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001223/0.1671, allocations: 107.9 kB / 0.6699 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.1673, allocations: 231.1 kB / 0.6702 GB, free: 196 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003596/0.1676, allocations: 493 kB / 0.6706 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009501/0.1686, allocations: 1.156 MB / 0.6718 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.1686, allocations: 7.938 kB / 0.6718 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.876e-06/0.1686, allocations: 8 kB / 0.6718 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.1686, allocations: 0 / 0.6718 GB, free: 14.53 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002227/0.1709, allocations: 1.395 MB / 0.6731 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1709, allocations: 8.031 kB / 0.6731 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000172/0.1711, allocations: 119.5 kB / 0.6733 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001201/0.1723, allocations: 0.7587 MB / 0.674 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.773e-05/0.1724, allocations: 88.25 kB / 0.6741 GB, free: 12.06 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001009/0.1725, allocations: 68.38 kB / 0.6741 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001228/0.1737, allocations: 0.729 MB / 0.6749 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.1738, allocations: 0 / 0.6749 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.1738, allocations: 28 kB / 0.6749 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.529e-05/0.1739, allocations: 16 kB / 0.6749 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1749, allocations: 0.5243 MB / 0.6754 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.1781, allocations: 2.243 MB / 0.6776 GB, free: 8.352 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.1795, allocations: 0.6154 MB / 0.6782 GB, free: 7.73 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004997/0.18, allocations: 278.4 kB / 0.6785 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.383e-05/0.1801, allocations: 8.562 kB / 0.6785 GB, free: 7.445 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000653/0.1807, allocations: 327 kB / 0.6788 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/0.1807, allocations: 0 / 0.6788 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of matching and sorting (n=60): time 0.001584/0.1823, allocations: 0.7517 MB / 0.6795 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/0.1824, allocations: 85.67 kB / 0.6796 GB, free: 6.258 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008748/0.1833, allocations: 0.7555 MB / 0.6803 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.804e-05/0.1833, allocations: 37.7 kB / 0.6804 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.1837, allocations: 444.5 kB / 0.6808 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001601/0.1838, allocations: 201 kB / 0.681 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.184, allocations: 106.3 kB / 0.6811 GB, free: 4.699 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.1842, allocations: 333.9 kB / 0.6814 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/0.1847, allocations: 211.4 kB / 0.6816 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.1852, allocations: 304.4 kB / 0.6819 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009989/0.1862, allocations: 0.5153 MB / 0.6824 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.1862, allocations: 0 / 0.6824 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001237/0.1875, allocations: 0.654 MB / 0.6831 GB, free: 2.613 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.514e-05/0.1875, allocations: 4 kB / 0.6831 GB, free: 2.609 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.1875, allocations: 4 kB / 0.6831 GB, free: 2.605 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1875, allocations: 7.938 kB / 0.6831 GB, free: 2.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006367/0.1882, allocations: 143.8 kB / 0.6832 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.1882, allocations: 8.188 kB / 0.6832 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004291/0.1886, allocations: 79.28 kB / 0.6833 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.263e-05/0.1887, allocations: 23.94 kB / 0.6833 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006478/0.1893, allocations: 361.3 kB / 0.6837 GB, free: 1.992 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004989/0.1898, allocations: 288.5 kB / 0.6839 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000885/0.1907, allocations: 487.7 kB / 0.6844 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.39e-06/0.1908, allocations: 8 kB / 0.6844 GB, free: 1.164 MB / 0.5137 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001144/0.1919, allocations: 0.6266 MB / 0.685 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.1919, allocations: 4 kB / 0.685 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1919, allocations: 8.188 kB / 0.685 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.192, allocations: 8 kB / 0.685 GB, free: 0.5117 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.1925, allocations: 143.8 kB / 0.6852 GB, free: 380 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.1926, allocations: 4 kB / 0.6852 GB, free: 376 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003893/0.193, allocations: 59.5 kB / 0.6852 GB, free: 316 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.693e-05/0.193, allocations: 23.94 kB / 0.6853 GB, free: 292 kB / 0.5137 GB 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.0001704/0.1932, allocations: 212.1 kB / 0.6855 GB, free: 72 kB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.1933, allocations: 99.2 kB / 0.6855 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.1935, allocations: 101.2 kB / 0.6856 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.1936, allocations: 0 / 0.6856 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.258e-06/0.1936, allocations: 0 / 0.6856 GB, free: 15.87 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.1938, allocations: 235.5 kB / 0.6859 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/0.194, allocations: 12 kB / 0.6859 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.1944, allocations: 31.97 kB / 0.6859 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.1945, allocations: 40.5 kB / 0.686 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001617/0.1961, allocations: 0.6783 MB / 0.6866 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00176/0.1979, allocations: 1.063 MB / 0.6877 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004601/0.1983, allocations: 264.3 kB / 0.6879 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000599/0.1989, allocations: 0.5146 MB / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of Backend: time 5.91e-07/0.199, allocations: 0 / 0.6884 GB, free: 13 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001529/0.2005, allocations: 0.6899 MB / 0.6891 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002926/0.2034, allocations: 2.052 MB / 0.6911 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of Templates: time 0.02189/0.2253, allocations: 12.89 MB / 0.7037 GB, free: 13.44 MB / 0.545 GB 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)