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.001715/0.001715, allocations: 108 kB / 15.61 MB, free: 152 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.002006/0.002006, allocations: 195.6 kB / 16.53 MB, free: 6.664 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.744/1.744, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.116/1.116, allocations: 135.6 MB / 425.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002375/0.002376, allocations: 64.16 kB / 0.5058 GB, free: 4.844 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.272/0.2744, allocations: 81.04 MB / 0.585 GB, free: 3.945 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.008494/0.283, allocations: 3.704 MB / 0.5886 GB, free: 220 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004929/0.288, allocations: 1.325 MB / 0.5899 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00118/0.2892, allocations: 27.88 kB / 0.5899 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005852/0.2898, allocations: 126.6 kB / 0.59 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009047/0.2908, allocations: 170.5 kB / 0.5902 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.2927, allocations: 0.5723 MB / 0.5908 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001759/0.2944, allocations: 0.9605 MB / 0.5917 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008556/0.2953, allocations: 349.6 kB / 0.592 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006803/0.296, allocations: 362.4 kB / 0.5924 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005582/0.2966, allocations: 350.1 kB / 0.5927 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.2967, allocations: 80 kB / 0.5928 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001363/0.2969, allocations: 83.94 kB / 0.5929 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002659/0.2971, allocations: 175.4 kB / 0.593 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004758/0.2976, allocations: 389.6 kB / 0.5934 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.2988, allocations: 0.845 MB / 0.5942 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.2989, allocations: 4 kB / 0.5942 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.645e-06/0.2989, allocations: 0 / 0.5942 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.246e-05/0.2989, allocations: 0 / 0.5942 GB, free: 10.41 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.002542/0.3014, allocations: 1.183 MB / 0.5954 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.3015, allocations: 8.031 kB / 0.5954 GB, free: 9.164 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.3017, allocations: 99.75 kB / 0.5955 GB, free: 9.066 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001099/0.3028, allocations: 0.5909 MB / 0.5961 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001509/0.303, allocations: 96.95 kB / 0.5962 GB, free: 8.328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.361e-05/0.3031, allocations: 60.31 kB / 0.5962 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.3044, allocations: 0.6042 MB / 0.5968 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.3044, allocations: 0 / 0.5968 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.3045, allocations: 20 kB / 0.5968 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.3045, allocations: 16 kB / 0.5968 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001031/0.3055, allocations: 427.6 kB / 0.5972 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003303/0.3088, allocations: 2.114 MB / 0.5993 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001324/0.3102, allocations: 0.4957 MB / 0.5998 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005057/0.3107, allocations: 220.8 kB / 0.6 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.186e-05/0.3107, allocations: 8 kB / 0.6 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008562/0.3116, allocations: 278.1 kB / 0.6003 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 3.366e-06/0.3116, allocations: 4 kB / 0.6003 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.00168/0.3133, allocations: 0.6124 MB / 0.6009 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.3134, allocations: 84.86 kB / 0.601 GB, free: 3.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008668/0.3143, allocations: 0.6138 MB / 0.6016 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.158e-05/0.3144, allocations: 37.7 kB / 0.6016 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003552/0.3147, allocations: 352.8 kB / 0.6019 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001698/0.3149, allocations: 157.8 kB / 0.6021 GB, free: 2.066 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001782/0.3151, allocations: 94.14 kB / 0.6022 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.3153, allocations: 337.9 kB / 0.6025 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/0.3158, allocations: 179 kB / 0.6027 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005688/0.3164, allocations: 280.2 kB / 0.6029 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.3174, allocations: 469.8 kB / 0.6034 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.3174, allocations: 7.938 kB / 0.6034 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001346/0.3188, allocations: 0.5984 MB / 0.604 GB, free: 32 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.4246/0.7434, allocations: 38.77 kB / 0.604 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.452e-05/0.7435, allocations: 4.031 kB / 0.604 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.467e-05/0.7436, allocations: 4.594 kB / 0.604 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007064/0.7443, allocations: 105.1 kB / 0.6041 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.623e-05/0.7443, allocations: 6.281 kB / 0.6041 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005554/0.7449, allocations: 60.39 kB / 0.6042 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.883e-05/0.7449, allocations: 22.47 kB / 0.6042 GB, free: 51.84 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006075/0.7455, allocations: 311.2 kB / 0.6045 GB, free: 51.76 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000426/0.746, allocations: 261.7 kB / 0.6047 GB, free: 51.66 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008347/0.7468, allocations: 461.2 kB / 0.6052 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.285e-06/0.7468, allocations: 0 / 0.6052 GB, free: 51.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001149/0.748, allocations: 0.58 MB / 0.6058 GB, free: 51.48 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.389e-05/0.748, allocations: 37.98 kB / 0.6058 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.748, allocations: 3.062 kB / 0.6058 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.838e-06/0.7481, allocations: 5.781 kB / 0.6058 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000419/0.7485, allocations: 101.1 kB / 0.6059 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.7485, allocations: 5.812 kB / 0.6059 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003696/0.7489, allocations: 52.36 kB / 0.606 GB, free: 51.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/0.7489, allocations: 24.44 kB / 0.606 GB, free: 51.45 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.0001831/0.7491, allocations: 211.1 kB / 0.6062 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.7492, allocations: 79.16 kB / 0.6063 GB, free: 51.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.7494, allocations: 80.28 kB / 0.6063 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-06/0.7494, allocations: 3.188 kB / 0.6063 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7494, allocations: 0.7656 kB / 0.6063 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.7495, allocations: 3.75 kB / 0.6063 GB, free: 51.25 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006625/0.7501, allocations: 0.6243 MB / 0.6069 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7501, allocations: 2.062 kB / 0.6069 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004288/0.7506, allocations: 84.7 kB / 0.607 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.7506, allocations: 0 / 0.607 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.046e-05/0.7506, allocations: 6.844 kB / 0.607 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.7506, allocations: 10.98 kB / 0.607 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.7506, allocations: 3.969 kB / 0.607 GB, free: 51.06 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001328/0.752, allocations: 0.7329 MB / 0.6078 GB, free: 50.89 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.7522, allocations: 192.6 kB / 0.6079 GB, free: 50.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.283e-05/0.7522, allocations: 8.812 kB / 0.608 GB, free: 50.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003738/0.7526, allocations: 38.88 kB / 0.608 GB, free: 50.72 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.769e-05/0.7527, allocations: 29.77 kB / 0.608 GB, free: 50.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.061e-05/0.7528, allocations: 16.86 kB / 0.608 GB, free: 50.71 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004628/0.7532, allocations: 430.7 kB / 0.6084 GB, free: 50.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7532, allocations: 0 / 0.6084 GB, free: 50.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005922/0.7538, allocations: 219.6 kB / 0.6087 GB, free: 50.48 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.0001353/0.754, allocations: 109.4 kB / 0.6088 GB, free: 50.39 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.7555, allocations: 0.8082 MB / 0.6096 GB, free: 50.06 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.7555, allocations: 4 kB / 0.6096 GB, free: 50.05 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003976/0.7559, allocations: 212.8 kB / 0.6098 GB, free: 50 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008338/0.7568, allocations: 210.6 kB / 0.61 GB, free: 49.94 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001876/0.7587, allocations: 1.188 MB / 0.6111 GB, free: 49.31 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003035/0.759, allocations: 0.9153 MB / 0.612 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003787/0.7594, allocations: 94.44 kB / 0.6121 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.7595, allocations: 45.97 kB / 0.6121 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of SimCode: time 5.11e-07/0.7595, allocations: 0 / 0.6121 GB, free: 48.58 MB / 0.4981 GB Notification: Performance of Templates: time 0.01404/0.7735, allocations: 7.581 MB / 0.6195 GB, free: 48.17 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)