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.001228/0.001227, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001907/0.001907, allocations: 196.1 kB / 16.79 MB, free: 6.809 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.506/1.506, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.153/1.153, allocations: 135.1 MB / 425.8 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 59.3 kB / 0.5053 GB, free: 5.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2117, allocations: 80.92 MB / 0.5843 GB, free: 5.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005418/0.2172, allocations: 3.705 MB / 0.588 GB, free: 1.289 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002986/0.2203, allocations: 1.293 MB / 0.5892 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004762/0.2208, allocations: 27.88 kB / 0.5892 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003707/0.2211, allocations: 95.11 kB / 0.5893 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005216/0.2217, allocations: 142.9 kB / 0.5895 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001202/0.2229, allocations: 0.5361 MB / 0.59 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0008974/0.2239, allocations: 0.9018 MB / 0.5909 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005432/0.2244, allocations: 337.6 kB / 0.5912 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003964/0.2248, allocations: 318.2 kB / 0.5915 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003558/0.2252, allocations: 338 kB / 0.5918 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.2253, allocations: 36 kB / 0.5919 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.378e-05/0.2254, allocations: 36 kB / 0.5919 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001347/0.2255, allocations: 139.3 kB / 0.592 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003151/0.2258, allocations: 341.7 kB / 0.5924 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006265/0.2265, allocations: 0.6357 MB / 0.593 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.2265, allocations: 0 / 0.593 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2265, allocations: 0 / 0.593 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.2265, allocations: 0 / 0.593 GB, free: 12.12 MB / 0.4981 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.002216/0.2287, allocations: 1.183 MB / 0.5941 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.2288, allocations: 12.03 kB / 0.5941 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001589/0.2289, allocations: 91.81 kB / 0.5942 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009504/0.2299, allocations: 0.5987 MB / 0.5948 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001225/0.23, allocations: 96.97 kB / 0.5949 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.954e-05/0.2301, allocations: 52.38 kB / 0.595 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.2313, allocations: 0.6003 MB / 0.5955 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.2313, allocations: 0 / 0.5955 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.2313, allocations: 24 kB / 0.5956 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.413e-05/0.2314, allocations: 12 kB / 0.5956 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009792/0.2323, allocations: 431.6 kB / 0.596 GB, free: 8.887 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002945/0.2353, allocations: 2.106 MB / 0.598 GB, free: 6.699 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.2366, allocations: 0.5045 MB / 0.5985 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004627/0.237, allocations: 220.8 kB / 0.5988 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.2371, allocations: 4 kB / 0.5988 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007535/0.2378, allocations: 278.4 kB / 0.599 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 4.719e-06/0.2379, allocations: 0 / 0.599 GB, free: 5.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001506/0.2394, allocations: 0.6201 MB / 0.5996 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.296e-05/0.2395, allocations: 88.86 kB / 0.5997 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007518/0.2402, allocations: 0.6138 MB / 0.6003 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.832e-05/0.2403, allocations: 37.7 kB / 0.6003 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002817/0.2406, allocations: 348.8 kB / 0.6007 GB, free: 3.93 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001452/0.2407, allocations: 153.7 kB / 0.6008 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001566/0.2409, allocations: 98.16 kB / 0.6009 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.241, allocations: 326 kB / 0.6012 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004561/0.2415, allocations: 191 kB / 0.6014 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/0.242, allocations: 280.2 kB / 0.6017 GB, free: 2.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009311/0.243, allocations: 481.9 kB / 0.6021 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/0.243, allocations: 3.938 kB / 0.6021 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001209/0.2442, allocations: 0.5905 MB / 0.6027 GB, free: 1.738 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.818e-05/0.2443, allocations: 33.7 kB / 0.6028 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.2443, allocations: 4 kB / 0.6028 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.2443, allocations: 7.984 kB / 0.6028 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004753/0.2448, allocations: 107.8 kB / 0.6029 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.436e-05/0.2448, allocations: 7.938 kB / 0.6029 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003904/0.2452, allocations: 67.75 kB / 0.6029 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.2452, allocations: 16 kB / 0.603 GB, free: 1.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005682/0.2458, allocations: 309.2 kB / 0.6032 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004788/0.2463, allocations: 264.3 kB / 0.6035 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008388/0.2472, allocations: 454 kB / 0.6039 GB, free: 420 kB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.794e-06/0.2472, allocations: 4 kB / 0.6039 GB, free: 416 kB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.4409/0.6881, allocations: 0.573 MB / 0.6045 GB, free: 52.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.09e-05/0.6883, allocations: 35.58 kB / 0.6045 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/0.6883, allocations: 6.344 kB / 0.6045 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.813e-05/0.6883, allocations: 5.219 kB / 0.6045 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007217/0.6891, allocations: 103.5 kB / 0.6046 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.351e-05/0.6891, allocations: 5.391 kB / 0.6046 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007949/0.6899, allocations: 54.69 kB / 0.6047 GB, free: 52.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001061/0.69, allocations: 19.14 kB / 0.6047 GB, free: 52.5 MB / 0.4981 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.0004202/0.6905, allocations: 217.1 kB / 0.6049 GB, free: 52.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/0.6908, allocations: 70.39 kB / 0.605 GB, free: 52.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.6912, allocations: 80.94 kB / 0.6051 GB, free: 52.3 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.6912, allocations: 2.75 kB / 0.6051 GB, free: 52.3 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.759e-05/0.6912, allocations: 3.031 kB / 0.6051 GB, free: 52.3 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.6912, allocations: 6.25 kB / 0.6051 GB, free: 52.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009581/0.6922, allocations: 0.621 MB / 0.6057 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.6922, allocations: 5.344 kB / 0.6057 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004979/0.6927, allocations: 83.95 kB / 0.6058 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.6927, allocations: 0 / 0.6058 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.6928, allocations: 13.62 kB / 0.6058 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6928, allocations: 0 / 0.6058 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6928, allocations: 3.844 kB / 0.6058 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.6944, allocations: 0.7281 MB / 0.6065 GB, free: 52.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002444/0.6947, allocations: 185.7 kB / 0.6067 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.366e-05/0.6948, allocations: 10.91 kB / 0.6067 GB, free: 51.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003874/0.6952, allocations: 36.31 kB / 0.6067 GB, free: 51.92 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.6953, allocations: 38.36 kB / 0.6068 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.6953, allocations: 12.55 kB / 0.6068 GB, free: 51.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005492/0.6959, allocations: 439.1 kB / 0.6072 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6959, allocations: 3.031 kB / 0.6072 GB, free: 51.71 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007856/0.6967, allocations: 214.4 kB / 0.6074 GB, free: 51.68 MB / 0.4981 GB 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.0001934/0.6969, allocations: 109.7 kB / 0.6075 GB, free: 51.59 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.6985, allocations: 0.7876 MB / 0.6083 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/0.6985, allocations: 0 / 0.6083 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/0.6989, allocations: 223 kB / 0.6085 GB, free: 51.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000915/0.6999, allocations: 192.8 kB / 0.6087 GB, free: 51.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/0.7021, allocations: 1.471 MB / 0.6101 GB, free: 50.25 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003633/0.7024, allocations: 0.9146 MB / 0.611 GB, free: 49.55 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.7026, allocations: 52.12 kB / 0.611 GB, free: 49.55 MB / 0.4981 GB Notification: Performance of SimCode: time 6.72e-07/0.7026, allocations: 2.734 kB / 0.611 GB, free: 49.55 MB / 0.4981 GB Notification: Performance of Templates: time 0.0135/0.7161, allocations: 8.641 MB / 0.6195 GB, free: 48.7 MB / 0.4981 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)