Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.LimPID") translateModel(IDEAS.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.000975/0.000975, allocations: 87.03 kB / 15.06 MB, free: 1.09 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.00114/0.00114, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.741/0.741, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003278/0.0003279, allocations: 8.562 kB / 0.5034 GB, free: 4.285 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3836, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.00301/0.3867, allocations: 3.121 MB / 0.5861 GB, free: 1.734 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.3885, allocations: 1.267 MB / 0.5874 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002749/0.3888, allocations: 29.28 kB / 0.5874 GB, free: 0.8125 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002374/0.3891, allocations: 88.7 kB / 0.5875 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004039/0.3895, allocations: 133.4 kB / 0.5876 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009197/0.3904, allocations: 465.7 kB / 0.588 GB, free: 452 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008282/0.3912, allocations: 0.8162 MB / 0.5888 GB, free: 36 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004439/0.3917, allocations: 254.6 kB / 0.5891 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003657/0.3921, allocations: 271.6 kB / 0.5893 GB, free: 15.79 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003331/0.3924, allocations: 265.1 kB / 0.5896 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.047e-05/0.3925, allocations: 24.12 kB / 0.5896 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.621e-05/0.3926, allocations: 21.44 kB / 0.5896 GB, free: 15.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001225/0.3927, allocations: 107.2 kB / 0.5897 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001175/0.3928, allocations: 137.9 kB / 0.5899 GB, free: 15.48 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006909/0.3935, allocations: 0.6135 MB / 0.5905 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3935, allocations: 0.5938 kB / 0.5905 GB, free: 15.33 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3935, allocations: 0 / 0.5905 GB, free: 15.33 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.3935, allocations: 1.188 kB / 0.5905 GB, free: 15.33 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.001829/0.3954, allocations: 1.074 MB / 0.5915 GB, free: 14.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.3954, allocations: 9.594 kB / 0.5915 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001601/0.3956, allocations: 93.27 kB / 0.5916 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009377/0.3965, allocations: 0.5724 MB / 0.5922 GB, free: 14.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001134/0.3966, allocations: 105.3 kB / 0.5923 GB, free: 14.05 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.011e-05/0.3967, allocations: 55.69 kB / 0.5923 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.3979, allocations: 0.6037 MB / 0.5929 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.3979, allocations: 5.547 kB / 0.5929 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.452e-05/0.398, allocations: 25.45 kB / 0.5929 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.831e-05/0.398, allocations: 12.81 kB / 0.593 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.399, allocations: 440.5 kB / 0.5934 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002851/0.4019, allocations: 2.138 MB / 0.5955 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001203/0.4031, allocations: 0.5135 MB / 0.596 GB, free: 11.92 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004689/0.4036, allocations: 223.3 kB / 0.5962 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.4037, allocations: 9.578 kB / 0.5962 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006655/0.4043, allocations: 288.4 kB / 0.5965 GB, free: 11.71 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 1.974e-06/0.4043, allocations: 0 / 0.5965 GB, free: 11.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001401/0.4057, allocations: 0.6347 MB / 0.5971 GB, free: 11.44 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/0.4058, allocations: 89.77 kB / 0.5972 GB, free: 11.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007063/0.4065, allocations: 0.6123 MB / 0.5978 GB, free: 10.97 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.46e-05/0.4066, allocations: 33.52 kB / 0.5978 GB, free: 10.94 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002532/0.4068, allocations: 362.2 kB / 0.5981 GB, free: 10.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.407, allocations: 155.3 kB / 0.5983 GB, free: 10.48 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.407, allocations: 14.81 kB / 0.5983 GB, free: 10.47 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.4071, allocations: 330.7 kB / 0.5986 GB, free: 10.15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004297/0.4075, allocations: 184.6 kB / 0.5988 GB, free: 10.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004764/0.408, allocations: 283.7 kB / 0.5991 GB, free: 9.863 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004643/0.4085, allocations: 233.2 kB / 0.5993 GB, free: 9.734 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.616e-06/0.4085, allocations: 1.406 kB / 0.5993 GB, free: 9.734 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001136/0.4097, allocations: 0.6169 MB / 0.5999 GB, free: 9.406 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000105/0.4098, allocations: 186.4 kB / 0.6001 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4098, allocations: 3.375 kB / 0.6001 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4098, allocations: 5.188 kB / 0.6001 GB, free: 9.191 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004754/0.4103, allocations: 116.2 kB / 0.6002 GB, free: 9.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.562e-05/0.4103, allocations: 12.75 kB / 0.6002 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003622/0.4107, allocations: 66.88 kB / 0.6003 GB, free: 9.113 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.906e-05/0.4107, allocations: 18.59 kB / 0.6003 GB, free: 9.109 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.232e-06/0.4107, allocations: 7.312 kB / 0.6003 GB, free: 9.105 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009694/0.4117, allocations: 0.5007 MB / 0.6008 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4117, allocations: 3.531 kB / 0.6008 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.382e-06/0.4118, allocations: 5.344 kB / 0.6008 GB, free: 8.848 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004309/0.4122, allocations: 107.9 kB / 0.6009 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.4122, allocations: 5.125 kB / 0.6009 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.4125, allocations: 56.23 kB / 0.6009 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.4126, allocations: 26.14 kB / 0.601 GB, free: 8.773 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002782/0.4129, allocations: 278.6 kB / 0.6012 GB, free: 8.523 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/0.413, allocations: 73.88 kB / 0.6013 GB, free: 8.484 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000152/0.4131, allocations: 77.97 kB / 0.6014 GB, free: 8.422 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.4131, allocations: 8.453 kB / 0.6014 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.4131, allocations: 1.281 kB / 0.6014 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.4132, allocations: 0 / 0.6014 GB, free: 8.418 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.4138, allocations: 0.6306 MB / 0.602 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.4138, allocations: 0 / 0.602 GB, free: 7.902 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.4143, allocations: 85.95 kB / 0.6021 GB, free: 7.883 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.4143, allocations: 6.125 kB / 0.6021 GB, free: 7.879 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.165e-05/0.4144, allocations: 6.625 kB / 0.6021 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.4144, allocations: 1.344 kB / 0.6021 GB, free: 7.875 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.4144, allocations: 5.047 kB / 0.6021 GB, free: 7.871 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001454/0.4158, allocations: 0.7473 MB / 0.6028 GB, free: 7.465 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002098/0.416, allocations: 202.1 kB / 0.603 GB, free: 7.273 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.651e-05/0.4161, allocations: 14.38 kB / 0.603 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.4165, allocations: 42 kB / 0.6031 GB, free: 7.246 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.455e-05/0.4166, allocations: 35.22 kB / 0.6031 GB, free: 7.227 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.4166, allocations: 14.16 kB / 0.6031 GB, free: 7.223 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004822/0.4171, allocations: 427.5 kB / 0.6035 GB, free: 6.977 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4171, allocations: 3.938 kB / 0.6035 GB, free: 6.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000611/0.4178, allocations: 214.6 kB / 0.6037 GB, free: 6.918 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001245/0.4179, allocations: 116.1 kB / 0.6039 GB, free: 6.816 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001497/0.4194, allocations: 0.8006 MB / 0.6046 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4194, allocations: 0 / 0.6046 GB, free: 6.395 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004553/0.4199, allocations: 228.3 kB / 0.6049 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008429/0.4207, allocations: 179.1 kB / 0.605 GB, free: 6.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002/0.4227, allocations: 1.386 MB / 0.6064 GB, free: 5.25 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.4232, allocations: 0.9133 MB / 0.6073 GB, free: 4.457 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003944/0.4236, allocations: 97.39 kB / 0.6074 GB, free: 4.41 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001408/0.4237, allocations: 45.03 kB / 0.6074 GB, free: 4.402 MB / 446.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4237, allocations: 3.938 kB / 0.6074 GB, free: 4.398 MB / 446.1 MB Notification: Performance of Templates: time 0.01219/0.4359, allocations: 6.875 MB / 0.6141 GB, free: 292 kB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)