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.0008781/0.0008779, allocations: 98.88 kB / 16.02 MB, free: 76 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.001019/0.001019, allocations: 185.3 kB / 16.92 MB, free: 6.773 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.514/1.514, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.101/1.101, allocations: 135.3 MB / 427.4 MB, free: 14.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003507/0.0003507, allocations: 8.656 kB / 0.5082 GB, free: 4.773 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1909/0.1913, allocations: 82.31 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.004177/0.1955, allocations: 3.295 MB / 0.5918 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002785/0.1983, allocations: 1.293 MB / 0.5931 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004751/0.1988, allocations: 23.88 kB / 0.5931 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1991, allocations: 91.11 kB / 0.5932 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005007/0.1996, allocations: 135 kB / 0.5933 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2008, allocations: 0.5322 MB / 0.5938 GB, free: 13.24 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0009516/0.2018, allocations: 0.9018 MB / 0.5947 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005299/0.2023, allocations: 329.6 kB / 0.595 GB, free: 12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.2027, allocations: 286.3 kB / 0.5953 GB, free: 11.71 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003468/0.2031, allocations: 270.1 kB / 0.5956 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.476e-05/0.2032, allocations: 24 kB / 0.5956 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.294e-05/0.2032, allocations: 20 kB / 0.5956 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.2033, allocations: 115.3 kB / 0.5957 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002867/0.2036, allocations: 327.4 kB / 0.596 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005826/0.2042, allocations: 0.6237 MB / 0.5966 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.2042, allocations: 8 kB / 0.5967 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.504e-06/0.2042, allocations: 0 / 0.5967 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.006e-06/0.2043, allocations: 0 / 0.5967 GB, free: 10.33 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.001913/0.2062, allocations: 1.051 MB / 0.5977 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2062, allocations: 8.031 kB / 0.5977 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.2064, allocations: 95.81 kB / 0.5978 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009492/0.2074, allocations: 0.5948 MB / 0.5984 GB, free: 8.484 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.2075, allocations: 101 kB / 0.5985 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.4e-05/0.2076, allocations: 52.38 kB / 0.5985 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.2088, allocations: 0.6198 MB / 0.5991 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.2088, allocations: 0 / 0.5991 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.2089, allocations: 24 kB / 0.5991 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.2089, allocations: 12 kB / 0.5991 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009862/0.2099, allocations: 447.6 kB / 0.5996 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.2128, allocations: 2.129 MB / 0.6017 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001238/0.2141, allocations: 0.5241 MB / 0.6022 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004827/0.2146, allocations: 228.8 kB / 0.6024 GB, free: 4.219 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.181e-05/0.2146, allocations: 4 kB / 0.6024 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007342/0.2154, allocations: 302.1 kB / 0.6027 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/0.2154, allocations: 3.938 kB / 0.6027 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001549/0.2169, allocations: 0.6402 MB / 0.6033 GB, free: 3.258 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.533e-05/0.217, allocations: 84.86 kB / 0.6034 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007421/0.2178, allocations: 0.6099 MB / 0.604 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.894e-05/0.2178, allocations: 37.7 kB / 0.604 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002882/0.2181, allocations: 356.8 kB / 0.6044 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001364/0.2183, allocations: 149.8 kB / 0.6045 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.2183, allocations: 53.69 kB / 0.6045 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.2185, allocations: 330 kB / 0.6049 GB, free: 1.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004722/0.219, allocations: 185 kB / 0.605 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.2195, allocations: 288.2 kB / 0.6053 GB, free: 1.109 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009662/0.2205, allocations: 497.9 kB / 0.6058 GB, free: 0.5859 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.2205, allocations: 3.938 kB / 0.6058 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.375/0.5955, allocations: 0.6127 MB / 0.6064 GB, free: 48.55 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.5957, allocations: 191.8 kB / 0.6066 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5957, allocations: 2.578 kB / 0.6066 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.844e-05/0.5957, allocations: 4.812 kB / 0.6066 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.5963, allocations: 113.3 kB / 0.6067 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.861e-05/0.5964, allocations: 7.984 kB / 0.6067 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005743/0.5969, allocations: 68.36 kB / 0.6068 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.642e-05/0.597, allocations: 19.42 kB / 0.6068 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.084e-05/0.597, allocations: 6.25 kB / 0.6068 GB, free: 48.36 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001014/0.598, allocations: 0.5081 MB / 0.6073 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.5981, allocations: 1.172 kB / 0.6073 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.141e-06/0.5981, allocations: 12.59 kB / 0.6073 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003984/0.5985, allocations: 106 kB / 0.6074 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.5985, allocations: 8.969 kB / 0.6074 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.5989, allocations: 53.64 kB / 0.6075 GB, free: 48.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.5989, allocations: 18.56 kB / 0.6075 GB, free: 48.32 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.0003591/0.5993, allocations: 277 kB / 0.6077 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.5994, allocations: 80.17 kB / 0.6078 GB, free: 48.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00017/0.5996, allocations: 82.95 kB / 0.6079 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.5996, allocations: 3.188 kB / 0.6079 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.5996, allocations: 5.531 kB / 0.6079 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.587e-06/0.5996, allocations: 1.25 kB / 0.6079 GB, free: 48.12 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005877/0.6002, allocations: 0.6217 MB / 0.6085 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.6002, allocations: 4.812 kB / 0.6085 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.6007, allocations: 89.53 kB / 0.6086 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.6007, allocations: 0 / 0.6086 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.717e-05/0.6007, allocations: 6.375 kB / 0.6086 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.928e-06/0.6007, allocations: 4.625 kB / 0.6086 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.043e-06/0.6007, allocations: 0 / 0.6086 GB, free: 47.93 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001383/0.6021, allocations: 0.7624 MB / 0.6094 GB, free: 47.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001844/0.6023, allocations: 189.1 kB / 0.6095 GB, free: 47.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.136e-05/0.6024, allocations: 20 kB / 0.6096 GB, free: 47.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003854/0.6028, allocations: 45.42 kB / 0.6096 GB, free: 47.77 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6029, allocations: 31 kB / 0.6096 GB, free: 47.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.203e-05/0.6029, allocations: 14.69 kB / 0.6096 GB, free: 47.77 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000449/0.6034, allocations: 430.6 kB / 0.6101 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6034, allocations: 2.031 kB / 0.6101 GB, free: 47.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005797/0.604, allocations: 215.2 kB / 0.6103 GB, free: 47.65 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.0001375/0.6041, allocations: 113.2 kB / 0.6104 GB, free: 47.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001377/0.6055, allocations: 0.8062 MB / 0.6112 GB, free: 47.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6055, allocations: 0 / 0.6112 GB, free: 47.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004552/0.606, allocations: 230.4 kB / 0.6114 GB, free: 47.38 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009245/0.6069, allocations: 203.4 kB / 0.6116 GB, free: 47.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001936/0.6089, allocations: 1.496 MB / 0.613 GB, free: 46.54 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.6092, allocations: 0.9163 MB / 0.6139 GB, free: 45.82 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.6093, allocations: 53.39 kB / 0.614 GB, free: 45.82 MB / 0.4981 GB Notification: Performance of SimCode: time 2.21e-07/0.6093, allocations: 0 / 0.614 GB, free: 45.82 MB / 0.4981 GB Notification: Performance of Templates: time 0.01137/0.6207, allocations: 8.532 MB / 0.6223 GB, free: 45.16 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)