Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 108 kB / 16.41 MB, free: 6.492 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.001312/0.001312, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8004/0.8004, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 66.67 kB / 0.582 GB, free: 23.64 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1882, allocations: 80.2 MB / 0.6603 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006618/0.1949, allocations: 4.102 MB / 0.6643 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003436/0.1984, allocations: 1.321 MB / 0.6656 GB, free: 4.844 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001005/0.1994, allocations: 23.88 kB / 0.6656 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006406/0.2001, allocations: 134.6 kB / 0.6657 GB, free: 4.688 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009037/0.2011, allocations: 178.4 kB / 0.6659 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.2024, allocations: 428.6 kB / 0.6663 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001609/0.204, allocations: 0.9632 MB / 0.6673 GB, free: 3.133 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008424/0.2049, allocations: 450.1 kB / 0.6677 GB, free: 2.672 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005424/0.2054, allocations: 330.8 kB / 0.668 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003803/0.2058, allocations: 334.3 kB / 0.6683 GB, free: 2.02 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.000118/0.2059, allocations: 92 kB / 0.6684 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.2061, allocations: 92 kB / 0.6685 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001459/0.2062, allocations: 179.4 kB / 0.6687 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003268/0.2066, allocations: 398 kB / 0.669 GB, free: 1.273 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.2076, allocations: 1.063 MB / 0.6701 GB, free: 212 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.2076, allocations: 4 kB / 0.6701 GB, free: 208 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.2076, allocations: 3.938 kB / 0.6701 GB, free: 204 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.084e-05/0.2076, allocations: 0 / 0.6701 GB, free: 204 kB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001877/0.2095, allocations: 1.069 MB / 0.6711 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.2096, allocations: 8.031 kB / 0.6711 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.2097, allocations: 87.91 kB / 0.6712 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009244/0.2106, allocations: 0.565 MB / 0.6718 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.722e-05/0.2107, allocations: 45.69 kB / 0.6718 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.81e-05/0.2108, allocations: 56.38 kB / 0.6719 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.2118, allocations: 0.6078 MB / 0.6725 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.338e-05/0.2119, allocations: 3.984 kB / 0.6725 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.614e-05/0.2119, allocations: 28 kB / 0.6725 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.887e-05/0.212, allocations: 16 kB / 0.6725 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009147/0.2129, allocations: 457 kB / 0.673 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002733/0.2156, allocations: 1.997 MB / 0.6749 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008974/0.2165, allocations: 449.8 kB / 0.6753 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004512/0.217, allocations: 242.1 kB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.2171, allocations: 4.438 kB / 0.6756 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005581/0.2176, allocations: 257.3 kB / 0.6758 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=49): time 2.926e-06/0.2176, allocations: 0 / 0.6758 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of matching and sorting (n=49): time 0.001387/0.219, allocations: 0.5883 MB / 0.6764 GB, free: 9.531 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/0.2191, allocations: 55.84 kB / 0.6764 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.2197, allocations: 450 kB / 0.6769 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.303e-05/0.2197, allocations: 37.7 kB / 0.6769 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.22, allocations: 324.3 kB / 0.6772 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.2201, allocations: 169.5 kB / 0.6774 GB, free: 8.484 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001476/0.2203, allocations: 94.25 kB / 0.6775 GB, free: 8.387 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001934/0.2205, allocations: 366.8 kB / 0.6778 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000385/0.2209, allocations: 165 kB / 0.678 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.2213, allocations: 253.7 kB / 0.6782 GB, free: 7.586 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.2221, allocations: 456 kB / 0.6786 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.2221, allocations: 0 / 0.6786 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001001/0.2231, allocations: 0.5585 MB / 0.6792 GB, free: 6.535 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.264e-05/0.2232, allocations: 41.56 kB / 0.6792 GB, free: 6.488 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.2232, allocations: 4 kB / 0.6792 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.2232, allocations: 4 kB / 0.6792 GB, free: 6.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.2237, allocations: 111.9 kB / 0.6793 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.2237, allocations: 8.188 kB / 0.6794 GB, free: 6.363 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000343/0.2241, allocations: 55.52 kB / 0.6794 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.2241, allocations: 23.98 kB / 0.6794 GB, free: 6.285 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.00026/0.2244, allocations: 201.8 kB / 0.6796 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.647e-05/0.2245, allocations: 67.12 kB / 0.6797 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.2246, allocations: 65.58 kB / 0.6798 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.2246, allocations: 4 kB / 0.6798 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.11e-05/0.2247, allocations: 0 / 0.6798 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2247, allocations: 4 kB / 0.6798 GB, free: 5.938 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.2264, allocations: 1.17 MB / 0.6809 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.2264, allocations: 0 / 0.6809 GB, free: 4.715 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.2269, allocations: 95.88 kB / 0.681 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2269, allocations: 7.938 kB / 0.681 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/0.2269, allocations: 16 kB / 0.681 GB, free: 4.598 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.629e-06/0.227, allocations: 3.984 kB / 0.681 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.227, allocations: 0 / 0.681 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001294/0.2283, allocations: 0.7574 MB / 0.6818 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001724/0.2284, allocations: 176.3 kB / 0.6819 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.038e-05/0.2285, allocations: 4 kB / 0.6819 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.2288, allocations: 27.97 kB / 0.682 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.544e-05/0.2289, allocations: 36.52 kB / 0.682 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.45e-05/0.2289, allocations: 12 kB / 0.682 GB, free: 3.551 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003466/0.2293, allocations: 306.9 kB / 0.6823 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2293, allocations: 0 / 0.6823 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004575/0.2298, allocations: 151.4 kB / 0.6824 GB, free: 3.105 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.000158/0.2299, allocations: 120.5 kB / 0.6826 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0009192/0.2309, allocations: 477 kB / 0.683 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.2309, allocations: 0.5 kB / 0.683 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.2313, allocations: 222.3 kB / 0.6832 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007815/0.2321, allocations: 161.8 kB / 0.6834 GB, free: 2.137 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002855/0.2349, allocations: 1.366 MB / 0.6847 GB, free: 0.7305 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000465/0.2354, allocations: 0.886 MB / 0.6856 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.2356, allocations: 55.42 kB / 0.6856 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of SimCode: time 7.41e-07/0.2356, allocations: 0 / 0.6856 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of Templates: time 0.01093/0.2465, allocations: 7.652 MB / 0.6931 GB, free: 8.148 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)