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.001341/0.001341, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.001362/0.001362, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.469/1.469, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.812/0.812, allocations: 132.2 MB / 423.3 MB, free: 6.652 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.5032 GB, free: 10.98 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4737, allocations: 80.18 MB / 0.5815 GB, free: 27.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004946/0.4787, allocations: 3.707 MB / 0.5851 GB, free: 24.81 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002747/0.4815, allocations: 1.33 MB / 0.5864 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005969/0.4821, allocations: 25.53 kB / 0.5864 GB, free: 23.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003728/0.4825, allocations: 126.3 kB / 0.5865 GB, free: 23.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005658/0.4832, allocations: 178.3 kB / 0.5867 GB, free: 23.44 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001264/0.4844, allocations: 0.5682 MB / 0.5873 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009808/0.4854, allocations: 0.9756 MB / 0.5882 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005727/0.486, allocations: 347.8 kB / 0.5885 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005005/0.4865, allocations: 363.1 kB / 0.5889 GB, free: 21.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003483/0.4869, allocations: 356.8 kB / 0.5892 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.487, allocations: 77.91 kB / 0.5893 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.4871, allocations: 79.22 kB / 0.5894 GB, free: 21.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.4873, allocations: 182.5 kB / 0.5896 GB, free: 21.52 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.4876, allocations: 380.4 kB / 0.5899 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000783/0.4884, allocations: 0.8878 MB / 0.5908 GB, free: 20.53 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4884, allocations: 0 / 0.5908 GB, free: 20.53 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4884, allocations: 0 / 0.5908 GB, free: 20.53 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.9e-05/0.4884, allocations: 1.031 kB / 0.5908 GB, free: 20.53 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.001901/0.4903, allocations: 1.179 MB / 0.5919 GB, free: 19.42 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.903e-05/0.4904, allocations: 12.03 kB / 0.592 GB, free: 19.41 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001514/0.4906, allocations: 95.75 kB / 0.592 GB, free: 19.31 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009521/0.4915, allocations: 0.6264 MB / 0.5927 GB, free: 18.65 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.264e-05/0.4916, allocations: 94.75 kB / 0.5927 GB, free: 18.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.4917, allocations: 52.38 kB / 0.5928 GB, free: 18.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008806/0.4926, allocations: 0.6016 MB / 0.5934 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.4926, allocations: 0 / 0.5934 GB, free: 17.86 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.751e-05/0.4927, allocations: 24 kB / 0.5934 GB, free: 17.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.4927, allocations: 13.16 kB / 0.5934 GB, free: 17.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.4935, allocations: 425.4 kB / 0.5938 GB, free: 17.4 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002241/0.4957, allocations: 2.098 MB / 0.5959 GB, free: 15.23 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.4967, allocations: 0.4942 MB / 0.5964 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003824/0.4971, allocations: 232.3 kB / 0.5966 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.4972, allocations: 4 kB / 0.5966 GB, free: 14.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005382/0.4977, allocations: 276.8 kB / 0.5968 GB, free: 14.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.084e-06/0.4977, allocations: 0 / 0.5968 GB, free: 14.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001254/0.499, allocations: 0.6065 MB / 0.5974 GB, free: 13.61 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.737e-05/0.4991, allocations: 88.8 kB / 0.5975 GB, free: 13.51 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005665/0.4996, allocations: 0.6178 MB / 0.5981 GB, free: 12.88 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.99e-05/0.4997, allocations: 33.7 kB / 0.5982 GB, free: 12.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001937/0.4999, allocations: 356.2 kB / 0.5985 GB, free: 12.49 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.897e-05/0.5, allocations: 157.6 kB / 0.5986 GB, free: 12.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.5001, allocations: 94.25 kB / 0.5987 GB, free: 12.24 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.581e-05/0.5002, allocations: 326 kB / 0.599 GB, free: 11.91 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003711/0.5006, allocations: 181.7 kB / 0.5992 GB, free: 11.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003927/0.501, allocations: 275.1 kB / 0.5995 GB, free: 11.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007504/0.5017, allocations: 489.2 kB / 0.5999 GB, free: 10.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.5018, allocations: 12.53 kB / 0.6 GB, free: 10.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009921/0.5028, allocations: 0.5907 MB / 0.6005 GB, free: 10.31 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.5028, allocations: 37.69 kB / 0.6006 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5028, allocations: 5.156 kB / 0.6006 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.5028, allocations: 4 kB / 0.6006 GB, free: 10.26 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004443/0.5033, allocations: 112.8 kB / 0.6007 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.5033, allocations: 4 kB / 0.6007 GB, free: 10.15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.5037, allocations: 72.91 kB / 0.6008 GB, free: 10.08 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.62e-05/0.5037, allocations: 16 kB / 0.6008 GB, free: 10.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000483/0.5042, allocations: 313.8 kB / 0.6011 GB, free: 9.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003539/0.5046, allocations: 267.9 kB / 0.6013 GB, free: 9.461 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006486/0.5052, allocations: 454.5 kB / 0.6018 GB, free: 8.984 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.224e-06/0.5053, allocations: 0 / 0.6018 GB, free: 8.984 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0008845/0.5061, allocations: 0.5814 MB / 0.6023 GB, free: 8.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.237e-05/0.5062, allocations: 29.7 kB / 0.6024 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.5062, allocations: 4 kB / 0.6024 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.571e-06/0.5062, allocations: 4 kB / 0.6024 GB, free: 8.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.5066, allocations: 111.8 kB / 0.6025 GB, free: 8.246 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.5066, allocations: 4 kB / 0.6025 GB, free: 8.242 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.507, allocations: 43.67 kB / 0.6025 GB, free: 8.199 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.185e-05/0.507, allocations: 20 kB / 0.6025 GB, free: 8.18 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.0001566/0.5072, allocations: 217.6 kB / 0.6027 GB, free: 7.961 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.763e-05/0.5073, allocations: 75.06 kB / 0.6028 GB, free: 7.887 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.5074, allocations: 79.91 kB / 0.6029 GB, free: 7.805 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5074, allocations: 8 kB / 0.6029 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.5074, allocations: 0 / 0.6029 GB, free: 7.797 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.5074, allocations: 7.969 kB / 0.6029 GB, free: 7.789 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005137/0.508, allocations: 0.6257 MB / 0.6035 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.508, allocations: 0 / 0.6035 GB, free: 7.113 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.5084, allocations: 83.88 kB / 0.6036 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.5084, allocations: 4 kB / 0.6036 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.5084, allocations: 8 kB / 0.6036 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5085, allocations: 0 / 0.6036 GB, free: 7.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5085, allocations: 3.938 kB / 0.6036 GB, free: 7.016 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001205/0.5097, allocations: 0.7403 MB / 0.6043 GB, free: 6.254 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001966/0.5099, allocations: 184.2 kB / 0.6045 GB, free: 6.055 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.112e-05/0.51, allocations: 12 kB / 0.6045 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003534/0.5103, allocations: 32.08 kB / 0.6046 GB, free: 6.012 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.81e-05/0.5104, allocations: 31.95 kB / 0.6046 GB, free: 5.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.5105, allocations: 19.98 kB / 0.6046 GB, free: 5.961 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003825/0.5109, allocations: 431.1 kB / 0.605 GB, free: 5.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5109, allocations: 0 / 0.605 GB, free: 5.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005521/0.5114, allocations: 223.2 kB / 0.6052 GB, free: 5.328 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.0001265/0.5116, allocations: 111.2 kB / 0.6053 GB, free: 5.207 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001286/0.5128, allocations: 0.7848 MB / 0.6061 GB, free: 4.398 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.5129, allocations: 3.938 kB / 0.6061 GB, free: 4.395 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.5132, allocations: 212.5 kB / 0.6063 GB, free: 4.188 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000806/0.5141, allocations: 213.3 kB / 0.6065 GB, free: 3.992 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.5159, allocations: 1.173 MB / 0.6077 GB, free: 2.789 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.5161, allocations: 0.9141 MB / 0.6086 GB, free: 1.844 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003689/0.5165, allocations: 93.11 kB / 0.6086 GB, free: 1.754 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001322/0.5167, allocations: 51.42 kB / 0.6087 GB, free: 1.703 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5167, allocations: 0 / 0.6087 GB, free: 1.703 MB / 446.1 MB Notification: Performance of Templates: time 0.01447/0.5311, allocations: 7.567 MB / 0.6161 GB, free: 10.23 MB / 462.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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.pipe 2>&1)