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.0009453/0.0009455, 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.001233/0.001233, allocations: 186.9 kB / 16.92 MB, free: 6.684 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.5/1.5, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7873/0.7873, allocations: 132.3 MB / 424.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003647/0.0003648, allocations: 8.906 kB / 0.5046 GB, free: 3.902 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5202/0.5206, allocations: 81.59 MB / 0.5843 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPID): time 0.003937/0.5246, allocations: 3.305 MB / 0.5875 GB, free: 1.594 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.5271, allocations: 1.293 MB / 0.5888 GB, free: 0.6641 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003497/0.5275, allocations: 23.62 kB / 0.5888 GB, free: 0.6562 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002941/0.5278, allocations: 96.88 kB / 0.5889 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004807/0.5283, allocations: 133.3 kB / 0.589 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.5295, allocations: 0.531 MB / 0.5895 GB, free: 204 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.5306, allocations: 0.8933 MB / 0.5904 GB, free: 15.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006074/0.5312, allocations: 338.4 kB / 0.5907 GB, free: 15.58 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000433/0.5317, allocations: 281.7 kB / 0.591 GB, free: 15.44 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003965/0.5321, allocations: 269.2 kB / 0.5913 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.02e-05/0.5322, allocations: 20.97 kB / 0.5913 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.137e-05/0.5322, allocations: 21.25 kB / 0.5913 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.5324, allocations: 115.7 kB / 0.5914 GB, free: 15.23 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003368/0.5327, allocations: 334.7 kB / 0.5917 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008687/0.5336, allocations: 0.6257 MB / 0.5923 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.5336, allocations: 0.6875 kB / 0.5923 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5336, allocations: 0 / 0.5923 GB, free: 14.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.5337, allocations: 0 / 0.5923 GB, free: 14.82 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.002145/0.5358, allocations: 1.049 MB / 0.5934 GB, free: 14.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5359, allocations: 14.03 kB / 0.5934 GB, free: 14.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001914/0.5361, allocations: 97.64 kB / 0.5935 GB, free: 14.04 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.5371, allocations: 0.5978 MB / 0.5941 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.5373, allocations: 98.78 kB / 0.5941 GB, free: 13.54 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/0.5374, allocations: 52 kB / 0.5942 GB, free: 13.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5388, allocations: 0.6196 MB / 0.5948 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.5388, allocations: 0 / 0.5948 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.01e-05/0.5389, allocations: 21.34 kB / 0.5948 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.5389, allocations: 13.22 kB / 0.5948 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.54, allocations: 443.7 kB / 0.5953 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003239/0.5433, allocations: 2.138 MB / 0.5973 GB, free: 11.61 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.5446, allocations: 0.518 MB / 0.5978 GB, free: 11.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.5451, allocations: 235.9 kB / 0.5981 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.851e-05/0.5452, allocations: 6.016 kB / 0.5981 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007139/0.5459, allocations: 300.9 kB / 0.5984 GB, free: 11.13 MB / 446.1 MB Notification: Performance of pre-optimization done (n=45): time 2.345e-06/0.5459, allocations: 0 / 0.5984 GB, free: 11.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.001557/0.5475, allocations: 0.6349 MB / 0.599 GB, free: 10.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.774e-05/0.5476, allocations: 86.58 kB / 0.5991 GB, free: 10.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007925/0.5484, allocations: 0.6142 MB / 0.5997 GB, free: 10.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.5484, allocations: 41.17 kB / 0.5997 GB, free: 10.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.5487, allocations: 353.3 kB / 0.6 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001298/0.5488, allocations: 156.4 kB / 0.6002 GB, free: 9.875 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.288e-05/0.5489, allocations: 55.16 kB / 0.6002 GB, free: 9.832 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.549, allocations: 330.1 kB / 0.6006 GB, free: 9.508 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004598/0.5495, allocations: 180.4 kB / 0.6007 GB, free: 9.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005242/0.55, allocations: 292.1 kB / 0.601 GB, free: 9.223 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009658/0.551, allocations: 496 kB / 0.6015 GB, free: 8.91 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.022e-06/0.551, allocations: 5.156 kB / 0.6015 GB, free: 8.906 MB / 446.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001243/0.5523, allocations: 0.6145 MB / 0.6021 GB, free: 8.582 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001314/0.5524, allocations: 194.3 kB / 0.6023 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5524, allocations: 2.469 kB / 0.6023 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.047e-05/0.5525, allocations: 5.281 kB / 0.6023 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.5529, allocations: 112.8 kB / 0.6024 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.363e-05/0.553, allocations: 5.312 kB / 0.6024 GB, free: 8.328 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003968/0.5534, allocations: 74.12 kB / 0.6025 GB, free: 8.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.061e-05/0.5534, allocations: 18.41 kB / 0.6025 GB, free: 8.277 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.438e-06/0.5534, allocations: 7.531 kB / 0.6025 GB, free: 8.273 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001044/0.5545, allocations: 0.5045 MB / 0.603 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.5545, allocations: 2.219 kB / 0.603 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.595e-06/0.5545, allocations: 6 kB / 0.603 GB, free: 8.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004329/0.555, allocations: 111.5 kB / 0.6031 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.555, allocations: 5.281 kB / 0.6031 GB, free: 7.984 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003333/0.5553, allocations: 52.61 kB / 0.6032 GB, free: 7.953 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.657e-05/0.5554, allocations: 18.69 kB / 0.6032 GB, free: 7.949 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.0002927/0.5557, allocations: 279.1 kB / 0.6034 GB, free: 7.699 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.5558, allocations: 81.84 kB / 0.6035 GB, free: 7.652 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001685/0.556, allocations: 78.22 kB / 0.6036 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.285e-06/0.556, allocations: 4.938 kB / 0.6036 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.141e-05/0.556, allocations: 0 / 0.6036 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.556, allocations: 7.969 kB / 0.6036 GB, free: 7.582 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.5568, allocations: 0.6147 MB / 0.6042 GB, free: 7.082 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.5568, allocations: 3.938 kB / 0.6042 GB, free: 7.078 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004478/0.5572, allocations: 98.03 kB / 0.6043 GB, free: 7.047 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.5572, allocations: 5.312 kB / 0.6043 GB, free: 7.043 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.509e-05/0.5573, allocations: 15.06 kB / 0.6043 GB, free: 7.031 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.5573, allocations: 5.969 kB / 0.6043 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.5573, allocations: 1.156 kB / 0.6043 GB, free: 7.027 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001554/0.5589, allocations: 0.7529 MB / 0.6051 GB, free: 6.625 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000214/0.5591, allocations: 196.3 kB / 0.6052 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.325e-05/0.5592, allocations: 11.92 kB / 0.6053 GB, free: 6.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004022/0.5596, allocations: 45.75 kB / 0.6053 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.532e-05/0.5597, allocations: 31.08 kB / 0.6053 GB, free: 6.395 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.5597, allocations: 17.8 kB / 0.6053 GB, free: 6.387 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005252/0.5602, allocations: 429 kB / 0.6058 GB, free: 6.145 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5603, allocations: 0 / 0.6058 GB, free: 6.145 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006189/0.5609, allocations: 215.2 kB / 0.606 GB, free: 6.09 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.0001464/0.561, allocations: 104.6 kB / 0.6061 GB, free: 5.992 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001618/0.5627, allocations: 0.8175 MB / 0.6069 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.5627, allocations: 0.75 kB / 0.6069 GB, free: 5.562 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000504/0.5632, allocations: 225 kB / 0.6071 GB, free: 5.469 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.5642, allocations: 189.9 kB / 0.6073 GB, free: 5.371 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.5664, allocations: 1.502 MB / 0.6087 GB, free: 4.316 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000495/0.5669, allocations: 0.9128 MB / 0.6096 GB, free: 3.523 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.5671, allocations: 51.77 kB / 0.6097 GB, free: 3.512 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.5671, allocations: 5.438 kB / 0.6097 GB, free: 3.508 MB / 446.1 MB Notification: Performance of Templates: time 0.01353/0.5807, allocations: 8.527 MB / 0.618 GB, free: 13.29 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPID.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDCalcHelperMain.o OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIDEAS_IDEAS.Controls.Continuous.Examples.LimPIDCalcHelperMain.o] Error 1