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.001209/0.001209, allocations: 108 kB / 15.6 MB, free: 132 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.001254/0.001254, allocations: 194.4 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7553/0.7553, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 64.72 kB / 0.5018 GB, free: 8.762 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1921/0.1935, allocations: 80.21 MB / 0.5801 GB, free: 8.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.005936/0.1995, allocations: 3.697 MB / 0.5837 GB, free: 5.062 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003249/0.2027, allocations: 1.321 MB / 0.585 GB, free: 3.734 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008949/0.2037, allocations: 27.88 kB / 0.585 GB, free: 3.707 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005249/0.2042, allocations: 138.6 kB / 0.5851 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009502/0.2052, allocations: 166.5 kB / 0.5853 GB, free: 3.406 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.2067, allocations: 0.5746 MB / 0.5859 GB, free: 2.844 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001406/0.2081, allocations: 0.9644 MB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006176/0.2088, allocations: 345.5 kB / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.2093, allocations: 370.4 kB / 0.5875 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003513/0.2097, allocations: 346.1 kB / 0.5878 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001172/0.2098, allocations: 80 kB / 0.5879 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001027/0.2099, allocations: 79.94 kB / 0.588 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001501/0.2101, allocations: 179.4 kB / 0.5881 GB, free: 0.4922 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002997/0.2104, allocations: 381.6 kB / 0.5885 GB, free: 120 kB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008577/0.2112, allocations: 0.8528 MB / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2112, allocations: 0 / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2113, allocations: 0 / 0.5893 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.063e-05/0.2113, allocations: 4 kB / 0.5893 GB, free: 15.26 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.001994/0.2133, allocations: 1.191 MB / 0.5905 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2133, allocations: 8.031 kB / 0.5905 GB, free: 14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.2135, allocations: 91.81 kB / 0.5906 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008513/0.2143, allocations: 0.591 MB / 0.5912 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.2144, allocations: 96.95 kB / 0.5913 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.388e-05/0.2145, allocations: 60.31 kB / 0.5913 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001014/0.2155, allocations: 0.6003 MB / 0.5919 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/0.2156, allocations: 3.984 kB / 0.5919 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.2156, allocations: 20 kB / 0.5919 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.2157, allocations: 15.94 kB / 0.592 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009152/0.2166, allocations: 427.6 kB / 0.5924 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00262/0.2192, allocations: 2.11 MB / 0.5944 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.2204, allocations: 0.4952 MB / 0.5949 GB, free: 9.312 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/0.2208, allocations: 212.8 kB / 0.5951 GB, free: 9.102 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.2209, allocations: 4 kB / 0.5951 GB, free: 9.098 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006829/0.2216, allocations: 291 kB / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=45): time 2.504e-06/0.2216, allocations: 0 / 0.5954 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of matching and sorting (n=45): time 0.001404/0.223, allocations: 0.6141 MB / 0.596 GB, free: 8.18 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.205e-05/0.2231, allocations: 88.84 kB / 0.5961 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006831/0.2237, allocations: 0.6138 MB / 0.5967 GB, free: 7.449 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.2238, allocations: 33.7 kB / 0.5967 GB, free: 7.41 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.2241, allocations: 352.8 kB / 0.597 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.2242, allocations: 157.8 kB / 0.5972 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.2244, allocations: 98.14 kB / 0.5973 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2245, allocations: 329.9 kB / 0.5976 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000446/0.2249, allocations: 187 kB / 0.5978 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004733/0.2254, allocations: 276.2 kB / 0.598 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008647/0.2263, allocations: 470 kB / 0.5985 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.049e-06/0.2263, allocations: 7.875 kB / 0.5985 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001142/0.2274, allocations: 0.6071 MB / 0.5991 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.2275, allocations: 33.7 kB / 0.5991 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.2275, allocations: 0 / 0.5991 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.2275, allocations: 4 kB / 0.5991 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004533/0.228, allocations: 111.8 kB / 0.5992 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.228, allocations: 4 kB / 0.5992 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003667/0.2284, allocations: 63.75 kB / 0.5993 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.561e-05/0.2284, allocations: 20 kB / 0.5993 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005248/0.229, allocations: 313.2 kB / 0.5996 GB, free: 4.309 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004285/0.2294, allocations: 276.1 kB / 0.5999 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007653/0.2302, allocations: 450 kB / 0.6003 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.793e-06/0.2302, allocations: 0 / 0.6003 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001012/0.2312, allocations: 0.5788 MB / 0.6009 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.824e-05/0.2313, allocations: 37.77 kB / 0.6009 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.966e-06/0.2313, allocations: 0 / 0.6009 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.2313, allocations: 8 kB / 0.6009 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004173/0.2317, allocations: 103.8 kB / 0.601 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.2317, allocations: 4 kB / 0.601 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.2321, allocations: 55.56 kB / 0.6011 GB, free: 2.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.948e-05/0.2321, allocations: 16 kB / 0.6011 GB, free: 2.703 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.0001768/0.2323, allocations: 228.7 kB / 0.6013 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.961e-05/0.2324, allocations: 67.16 kB / 0.6014 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.2325, allocations: 83.2 kB / 0.6015 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.2325, allocations: 4 kB / 0.6015 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/0.2325, allocations: 0 / 0.6015 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2326, allocations: 0 / 0.6015 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006381/0.2332, allocations: 0.618 MB / 0.6021 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2332, allocations: 0 / 0.6021 GB, free: 1.652 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004278/0.2336, allocations: 87.89 kB / 0.6021 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.2337, allocations: 0 / 0.6021 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.247e-05/0.2337, allocations: 15.98 kB / 0.6022 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2337, allocations: 4 kB / 0.6022 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.2337, allocations: 0 / 0.6022 GB, free: 1.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.2351, allocations: 0.7286 MB / 0.6029 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.2353, allocations: 196 kB / 0.6031 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.305e-05/0.2354, allocations: 8 kB / 0.6031 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003766/0.2358, allocations: 35.97 kB / 0.6031 GB, free: 0.5469 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.408e-05/0.2359, allocations: 31.95 kB / 0.6031 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.32e-05/0.2359, allocations: 19.98 kB / 0.6032 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00045/0.2364, allocations: 427 kB / 0.6036 GB, free: 84 kB / 0.4981 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2364, allocations: 0 / 0.6036 GB, free: 84 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.3299/0.5663, allocations: 218.5 kB / 0.6038 GB, free: 56.51 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.0001823/0.5665, allocations: 110.8 kB / 0.6039 GB, free: 56.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001638/0.5681, allocations: 0.807 MB / 0.6047 GB, free: 56.3 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.5682, allocations: 0 / 0.6047 GB, free: 56.3 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003806/0.5685, allocations: 217.6 kB / 0.6049 GB, free: 56.28 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000827/0.5694, allocations: 213 kB / 0.6051 GB, free: 56.23 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.5711, allocations: 1.191 MB / 0.6062 GB, free: 55.61 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.5714, allocations: 0.9204 MB / 0.6071 GB, free: 54.91 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003284/0.5717, allocations: 95.56 kB / 0.6072 GB, free: 54.91 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.5718, allocations: 46.84 kB / 0.6073 GB, free: 54.91 MB / 0.4981 GB Notification: Performance of SimCode: time 5.71e-07/0.5718, allocations: 0 / 0.6073 GB, free: 54.91 MB / 0.4981 GB Notification: Performance of Templates: time 0.01151/0.5834, allocations: 7.56 MB / 0.6147 GB, free: 54.53 MB / 0.4981 GB 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)