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.001671/0.001672, allocations: 109.8 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.001744/0.001744, allocations: 189.4 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.537/1.537, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8661/0.8661, allocations: 135.1 MB / 426.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 62.44 kB / 0.5862 GB, free: 21.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2073, allocations: 80.93 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.006712/0.2141, allocations: 3.699 MB / 0.6689 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.2177, allocations: 1.336 MB / 0.6702 GB, free: 0.7422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.2188, allocations: 27.88 kB / 0.6702 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000631/0.2195, allocations: 130.6 kB / 0.6703 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001115/0.2207, allocations: 170.5 kB / 0.6705 GB, free: 428 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001676/0.2223, allocations: 0.5661 MB / 0.6711 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00182/0.2242, allocations: 0.9682 MB / 0.672 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009386/0.2251, allocations: 349.5 kB / 0.6723 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008075/0.2259, allocations: 370.4 kB / 0.6727 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007013/0.2267, allocations: 362 kB / 0.673 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002957/0.227, allocations: 76 kB / 0.6731 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003335/0.2273, allocations: 80 kB / 0.6732 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003497/0.2277, allocations: 183.2 kB / 0.6734 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005629/0.2282, allocations: 377.7 kB / 0.6737 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001304/0.2295, allocations: 0.8911 MB / 0.6746 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.2296, allocations: 0 / 0.6746 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2296, allocations: 4 kB / 0.6746 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.67e-05/0.2296, 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.003079/0.2327, allocations: 1.18 MB / 0.6757 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.802e-05/0.2328, allocations: 9.109 kB / 0.6757 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002196/0.233, allocations: 99.8 kB / 0.6758 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00123/0.2342, allocations: 0.6104 MB / 0.6764 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/0.2344, allocations: 105 kB / 0.6765 GB, free: 10.11 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000138/0.2345, allocations: 60.22 kB / 0.6766 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.2357, allocations: 0.5964 MB / 0.6772 GB, free: 9.41 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.2357, allocations: 3.938 kB / 0.6772 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.286e-05/0.2358, allocations: 20 kB / 0.6772 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.2358, allocations: 19.98 kB / 0.6772 GB, free: 9.367 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009653/0.2368, allocations: 419.7 kB / 0.6776 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003016/0.2398, allocations: 2.11 MB / 0.6797 GB, free: 6.762 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.241, allocations: 0.4911 MB / 0.6802 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/0.2415, allocations: 216.7 kB / 0.6804 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.945e-05/0.2416, allocations: 4 kB / 0.6804 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006817/0.2423, allocations: 290.1 kB / 0.6806 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=45): time 4.539e-06/0.2423, allocations: 0 / 0.6806 GB, free: 5.746 MB / 0.5137 GB Notification: Performance of matching and sorting (n=45): time 0.001527/0.2438, allocations: 0.6112 MB / 0.6812 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.523e-05/0.2439, allocations: 92.84 kB / 0.6813 GB, free: 5.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008477/0.2448, allocations: 0.6061 MB / 0.6819 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.214e-05/0.2448, allocations: 33.7 kB / 0.682 GB, free: 4.363 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003142/0.2451, allocations: 360.8 kB / 0.6823 GB, free: 4.008 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.2453, allocations: 157.8 kB / 0.6825 GB, free: 3.852 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/0.2455, allocations: 94.23 kB / 0.6825 GB, free: 3.75 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.2456, allocations: 325.9 kB / 0.6829 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004875/0.2461, allocations: 183 kB / 0.683 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/0.2467, allocations: 276.2 kB / 0.6833 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009747/0.2476, allocations: 477.9 kB / 0.6837 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.464e-06/0.2477, allocations: 3.938 kB / 0.6838 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001267/0.2489, allocations: 0.6021 MB / 0.6843 GB, free: 1.809 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 5.209e-05/0.249, allocations: 33.7 kB / 0.6844 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.188e-06/0.249, allocations: 0 / 0.6844 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.459e-05/0.249, allocations: 8 kB / 0.6844 GB, free: 1.762 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004902/0.2495, allocations: 116.1 kB / 0.6845 GB, free: 1.648 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.2496, allocations: 4 kB / 0.6845 GB, free: 1.645 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004146/0.25, allocations: 63.41 kB / 0.6846 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-05/0.2501, allocations: 20 kB / 0.6846 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005763/0.2506, allocations: 309.2 kB / 0.6849 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004724/0.2511, allocations: 272.2 kB / 0.6851 GB, free: 0.9531 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008731/0.252, allocations: 450 kB / 0.6856 GB, free: 484 kB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.525e-06/0.252, allocations: 0 / 0.6856 GB, free: 484 kB / 0.5137 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001189/0.2532, allocations: 0.5826 MB / 0.6861 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.2533, allocations: 33.7 kB / 0.6862 GB, free: 15.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2533, allocations: 4 kB / 0.6862 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.867e-06/0.2533, allocations: 4 kB / 0.6862 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004469/0.2537, allocations: 103.8 kB / 0.6863 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.489e-05/0.2538, allocations: 11.94 kB / 0.6863 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.2542, allocations: 51.86 kB / 0.6863 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.433e-05/0.2542, allocations: 19.98 kB / 0.6863 GB, free: 15.64 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.0002708/0.2545, allocations: 226.1 kB / 0.6866 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001582/0.2547, allocations: 71.06 kB / 0.6866 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002373/0.2549, allocations: 79.22 kB / 0.6867 GB, free: 15.27 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.141e-05/0.2549, allocations: 4 kB / 0.6867 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.848e-05/0.255, allocations: 3.984 kB / 0.6867 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.255, allocations: 0 / 0.6867 GB, free: 15.26 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.2561, allocations: 0.6218 MB / 0.6873 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.581e-05/0.2561, allocations: 7.984 kB / 0.6873 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006297/0.2568, allocations: 79.89 kB / 0.6874 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.106e-05/0.2568, allocations: 0 / 0.6874 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/0.2569, allocations: 12 kB / 0.6874 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/0.2569, allocations: 4 kB / 0.6874 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.2569, allocations: 0 / 0.6874 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002067/0.259, allocations: 0.7314 MB / 0.6881 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003649/0.2593, allocations: 192 kB / 0.6883 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.2595, allocations: 11.98 kB / 0.6883 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004384/0.2599, allocations: 39.97 kB / 0.6884 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.26, allocations: 27.95 kB / 0.6884 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.03e-05/0.2601, allocations: 19.98 kB / 0.6884 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0005922/0.2607, allocations: 427 kB / 0.6888 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2607, allocations: 4 kB / 0.6888 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007392/0.2614, allocations: 211.4 kB / 0.689 GB, free: 12.81 MB / 0.5294 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.0001919/0.2617, allocations: 116.6 kB / 0.6891 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001724/0.2634, allocations: 0.7852 MB / 0.6899 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.2634, allocations: 0 / 0.6899 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0004778/0.2639, allocations: 215.9 kB / 0.6901 GB, free: 11.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009579/0.2649, allocations: 208.3 kB / 0.6903 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002496/0.2674, allocations: 1.212 MB / 0.6915 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006146/0.268, allocations: 0.9178 MB / 0.6924 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.2682, allocations: 55.44 kB / 0.6924 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of SimCode: time 2.334e-06/0.2682, allocations: 0 / 0.6924 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of Templates: time 0.01632/0.2845, allocations: 8.719 MB / 0.701 GB, free: 0.5469 MB / 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)