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.001189/0.001189, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001166/0.001166, allocations: 191 kB / 17.29 MB, free: 5.516 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7346/0.7346, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.89 kB / 0.5067 GB, free: 7.648 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2908/0.292, allocations: 80.9 MB / 0.5857 GB, free: 25.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.003799/0.2959, allocations: 3.709 MB / 0.5894 GB, free: 22.67 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.2976, allocations: 1.32 MB / 0.5907 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002781/0.2979, allocations: 27.88 kB / 0.5907 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.2982, allocations: 135.2 kB / 0.5908 GB, free: 21.28 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003837/0.2986, allocations: 175.3 kB / 0.591 GB, free: 21.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008132/0.2994, allocations: 0.5757 MB / 0.5915 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005826/0.3, allocations: 0.9655 MB / 0.5925 GB, free: 19.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003716/0.3004, allocations: 348.2 kB / 0.5928 GB, free: 19.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002549/0.3006, allocations: 366.9 kB / 0.5932 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002308/0.3009, allocations: 354.7 kB / 0.5935 GB, free: 18.54 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.905e-05/0.301, allocations: 76 kB / 0.5936 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.829e-05/0.301, allocations: 81.09 kB / 0.5937 GB, free: 18.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.3011, allocations: 183.3 kB / 0.5938 GB, free: 18.21 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001808/0.3013, allocations: 381.1 kB / 0.5942 GB, free: 17.84 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000476/0.3018, allocations: 0.8811 MB / 0.5951 GB, free: 16.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3018, allocations: 0 / 0.5951 GB, free: 16.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3018, allocations: 0 / 0.5951 GB, free: 16.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.3018, allocations: 0 / 0.5951 GB, free: 16.96 MB / 446.1 MB 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.001535/0.3034, allocations: 1.188 MB / 0.5962 GB, free: 15.73 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.3034, allocations: 13.05 kB / 0.5962 GB, free: 15.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.3035, allocations: 91.81 kB / 0.5963 GB, free: 15.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007734/0.3043, allocations: 0.6228 MB / 0.5969 GB, free: 14.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.693e-05/0.3044, allocations: 102.1 kB / 0.597 GB, free: 14.86 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.104e-05/0.3045, allocations: 56.36 kB / 0.5971 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000798/0.3053, allocations: 0.5972 MB / 0.5977 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.3053, allocations: 1.562 kB / 0.5977 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.3053, allocations: 23.94 kB / 0.5977 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.3053, allocations: 12 kB / 0.5977 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007478/0.3061, allocations: 421.4 kB / 0.5981 GB, free: 13.72 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.308, allocations: 2.097 MB / 0.6001 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009343/0.309, allocations: 0.4968 MB / 0.6006 GB, free: 11.05 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003572/0.3094, allocations: 218.1 kB / 0.6008 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.447e-05/0.3094, allocations: 5.062 kB / 0.6008 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004828/0.3099, allocations: 284.1 kB / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.733e-06/0.3099, allocations: 0 / 0.6011 GB, free: 10.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001112/0.311, allocations: 0.6072 MB / 0.6017 GB, free: 9.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.3111, allocations: 96.84 kB / 0.6018 GB, free: 9.816 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000493/0.3116, allocations: 0.6107 MB / 0.6024 GB, free: 9.195 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.3116, allocations: 34.8 kB / 0.6024 GB, free: 9.156 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.3118, allocations: 353.6 kB / 0.6028 GB, free: 8.809 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.26e-05/0.3119, allocations: 158.8 kB / 0.6029 GB, free: 8.652 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.312, allocations: 98.14 kB / 0.603 GB, free: 8.551 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.799e-05/0.312, allocations: 322.6 kB / 0.6033 GB, free: 8.23 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003538/0.3124, allocations: 188.5 kB / 0.6035 GB, free: 8.043 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003768/0.3128, allocations: 276 kB / 0.6038 GB, free: 7.742 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006985/0.3135, allocations: 489 kB / 0.6042 GB, free: 7.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3135, allocations: 5.531 kB / 0.6042 GB, free: 7.227 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009108/0.3144, allocations: 0.5974 MB / 0.6048 GB, free: 6.621 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.3144, allocations: 37.05 kB / 0.6048 GB, free: 6.582 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.3145, allocations: 4 kB / 0.6049 GB, free: 6.578 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.3145, allocations: 4 kB / 0.6049 GB, free: 6.574 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004119/0.3149, allocations: 111.6 kB / 0.605 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.3149, allocations: 7.938 kB / 0.605 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/0.3152, allocations: 63.44 kB / 0.605 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.3153, allocations: 20 kB / 0.6051 GB, free: 6.379 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004211/0.3157, allocations: 310 kB / 0.6053 GB, free: 6.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003328/0.316, allocations: 268.2 kB / 0.6056 GB, free: 5.777 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006139/0.3167, allocations: 450.3 kB / 0.606 GB, free: 5.305 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.3167, allocations: 0 / 0.606 GB, free: 5.305 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.000807/0.3175, allocations: 0.5829 MB / 0.6066 GB, free: 4.707 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3175, allocations: 33.7 kB / 0.6066 GB, free: 4.668 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.3175, allocations: 4 kB / 0.6066 GB, free: 4.664 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.31e-06/0.3175, allocations: 8 kB / 0.6066 GB, free: 4.656 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003692/0.3179, allocations: 103.8 kB / 0.6067 GB, free: 4.555 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3179, allocations: 4 kB / 0.6067 GB, free: 4.551 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003007/0.3182, allocations: 51.83 kB / 0.6068 GB, free: 4.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.817e-05/0.3183, allocations: 23.98 kB / 0.6068 GB, free: 4.477 MB / 446.1 MB 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.0001048/0.3184, allocations: 216.1 kB / 0.607 GB, free: 4.258 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.639e-05/0.3184, allocations: 71.06 kB / 0.6071 GB, free: 4.188 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.3186, allocations: 79.22 kB / 0.6072 GB, free: 4.102 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3186, allocations: 4 kB / 0.6072 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.3186, allocations: 0 / 0.6072 GB, free: 4.098 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3186, allocations: 3.984 kB / 0.6072 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.319, allocations: 0.618 MB / 0.6078 GB, free: 3.426 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3191, allocations: 4 kB / 0.6078 GB, free: 3.422 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004087/0.3195, allocations: 87.88 kB / 0.6079 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3195, allocations: 0 / 0.6079 GB, free: 3.336 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.3195, allocations: 12 kB / 0.6079 GB, free: 3.324 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.3195, allocations: 7.938 kB / 0.6079 GB, free: 3.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.3195, allocations: 7.922 kB / 0.6079 GB, free: 3.309 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/0.3206, allocations: 0.7313 MB / 0.6086 GB, free: 2.559 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001702/0.3208, allocations: 184.2 kB / 0.6088 GB, free: 2.359 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.3209, allocations: 11.98 kB / 0.6088 GB, free: 2.348 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003454/0.3212, allocations: 35.97 kB / 0.6088 GB, free: 2.312 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.069e-05/0.3213, allocations: 35.94 kB / 0.6089 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.3214, allocations: 23.92 kB / 0.6089 GB, free: 2.254 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003334/0.3217, allocations: 427 kB / 0.6093 GB, free: 1.844 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3217, allocations: 0 / 0.6093 GB, free: 1.844 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004735/0.3222, allocations: 223.2 kB / 0.6095 GB, free: 1.625 MB / 446.1 MB 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.0001002/0.3223, allocations: 116.5 kB / 0.6096 GB, free: 1.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.3235, allocations: 0.7854 MB / 0.6104 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3235, allocations: 0 / 0.6104 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.3238, allocations: 215.9 kB / 0.6106 GB, free: 488 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/0.3246, allocations: 203.5 kB / 0.6108 GB, free: 296 kB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001742/0.3263, allocations: 1.168 MB / 0.6119 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004372/0.3268, allocations: 0.918 MB / 0.6128 GB, free: 14.14 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0003043/0.3271, allocations: 89.12 kB / 0.6129 GB, free: 14.05 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.3272, allocations: 51.42 kB / 0.613 GB, free: 14 MB / 462.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3272, allocations: 0 / 0.613 GB, free: 14 MB / 462.1 MB Notification: Performance of Templates: time 0.012/0.3392, allocations: 7.572 MB / 0.6204 GB, free: 6.523 MB / 462.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)