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.001262/0.001261, allocations: 115.2 kB / 16.42 MB, free: 6.5 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.001314/0.001313, allocations: 183.9 kB / 17.35 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.324/1.324, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7895/0.7895, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.03 kB / 0.5862 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1947, allocations: 80.92 MB / 0.6653 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004609/0.1993, allocations: 3.71 MB / 0.6689 GB, free: 2.102 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002461/0.2018, allocations: 1.328 MB / 0.6702 GB, free: 0.7656 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003268/0.2022, allocations: 27.88 kB / 0.6702 GB, free: 0.7383 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003175/0.2025, allocations: 126.6 kB / 0.6703 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005006/0.203, allocations: 186.5 kB / 0.6705 GB, free: 440 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001086/0.2041, allocations: 0.5657 MB / 0.6711 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0009137/0.205, allocations: 0.9758 MB / 0.672 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004915/0.2055, allocations: 353.5 kB / 0.6724 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003881/0.2059, allocations: 378.4 kB / 0.6727 GB, free: 14.17 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003398/0.2063, allocations: 350.1 kB / 0.6731 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.2064, allocations: 76 kB / 0.6731 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.2065, allocations: 80 kB / 0.6732 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.2067, allocations: 187.2 kB / 0.6734 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002732/0.2069, allocations: 373.7 kB / 0.6737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0007853/0.2077, allocations: 0.895 MB / 0.6746 GB, free: 12.23 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.2078, allocations: 4 kB / 0.6746 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.783e-06/0.2078, allocations: 0 / 0.6746 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.789e-06/0.2078, allocations: 0 / 0.6746 GB, free: 12.22 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.001964/0.2097, allocations: 1.18 MB / 0.6758 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.2098, allocations: 9.109 kB / 0.6758 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001474/0.2099, allocations: 91.81 kB / 0.6759 GB, free: 10.89 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/0.211, allocations: 0.6221 MB / 0.6765 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001158/0.2111, allocations: 104.9 kB / 0.6766 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/0.2112, allocations: 56.28 kB / 0.6766 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/0.2122, allocations: 0.5964 MB / 0.6772 GB, free: 9.414 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2123, allocations: 3.984 kB / 0.6772 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.2123, allocations: 20 kB / 0.6772 GB, free: 9.391 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.2123, allocations: 12 kB / 0.6772 GB, free: 9.379 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000906/0.2132, allocations: 423.7 kB / 0.6776 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00261/0.2159, allocations: 2.11 MB / 0.6797 GB, free: 6.77 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001129/0.217, allocations: 0.4921 MB / 0.6802 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004276/0.2174, allocations: 216.7 kB / 0.6804 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.2175, allocations: 8 kB / 0.6804 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006265/0.2181, allocations: 286 kB / 0.6807 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 2.735e-06/0.2181, allocations: 0 / 0.6807 GB, free: 5.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001389/0.2195, allocations: 0.6076 MB / 0.6813 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.2196, allocations: 96.8 kB / 0.6814 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006448/0.2203, allocations: 0.6061 MB / 0.6819 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.989e-05/0.2203, allocations: 41.64 kB / 0.682 GB, free: 4.359 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002551/0.2206, allocations: 360.8 kB / 0.6823 GB, free: 4.004 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2207, allocations: 153.8 kB / 0.6825 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001416/0.2208, allocations: 94.23 kB / 0.6826 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.221, allocations: 322 kB / 0.6829 GB, free: 3.43 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004322/0.2214, allocations: 187 kB / 0.6831 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004658/0.2219, allocations: 272.3 kB / 0.6833 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008807/0.2228, allocations: 481.9 kB / 0.6838 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.2228, allocations: 0 / 0.6838 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001095/0.2239, allocations: 0.6021 MB / 0.6844 GB, free: 1.812 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.997e-05/0.2239, allocations: 31.58 kB / 0.6844 GB, free: 1.777 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.2239, allocations: 4 kB / 0.6844 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.224, allocations: 4.312 kB / 0.6844 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004477/0.2244, allocations: 115.8 kB / 0.6845 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.367e-05/0.2244, allocations: 4 kB / 0.6845 GB, free: 1.652 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003717/0.2248, allocations: 63.41 kB / 0.6846 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/0.2249, allocations: 20 kB / 0.6846 GB, free: 1.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005211/0.2254, allocations: 313.1 kB / 0.6849 GB, free: 1.262 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004179/0.2258, allocations: 268.3 kB / 0.6851 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007821/0.2266, allocations: 454 kB / 0.6856 GB, free: 488 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.364e-06/0.2266, allocations: 0 / 0.6856 GB, free: 488 kB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001014/0.2276, allocations: 0.5787 MB / 0.6861 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.529e-05/0.2277, allocations: 33.7 kB / 0.6862 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.2277, allocations: 3.938 kB / 0.6862 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.2277, allocations: 8 kB / 0.6862 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004157/0.2281, allocations: 103.8 kB / 0.6863 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.2281, allocations: 4 kB / 0.6863 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.2285, allocations: 55.91 kB / 0.6863 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.2285, allocations: 16 kB / 0.6864 GB, free: 15.66 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.0001893/0.2287, allocations: 220 kB / 0.6866 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.985e-05/0.2288, allocations: 75 kB / 0.6866 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.229, allocations: 83.2 kB / 0.6867 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.229, allocations: 0 / 0.6867 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.229, allocations: 0 / 0.6867 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002296/0.2292, allocations: 196 kB / 0.6869 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.323e-05/0.2293, allocations: 8 kB / 0.6869 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003743/0.2297, allocations: 31.97 kB / 0.6869 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.952e-05/0.2298, allocations: 35.89 kB / 0.687 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001305/0.2311, allocations: 0.5587 MB / 0.6875 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001476/0.2326, allocations: 0.8855 MB / 0.6884 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00042/0.233, allocations: 211.9 kB / 0.6886 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000477/0.2335, allocations: 435 kB / 0.689 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of Backend: time 5.31e-07/0.2335, allocations: 0 / 0.689 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001553/0.2351, allocations: 0.7176 MB / 0.6897 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of SimCode: time 0.002494/0.2376, allocations: 1.664 MB / 0.6913 GB, free: 10.44 MB / 0.5294 GB Notification: Performance of Templates: time 0.01685/0.2545, allocations: 10.5 MB / 0.7016 GB, free: 32 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)