Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPD_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 99.2 kB / 15.71 MB, free: 452 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.001224/0.001225, allocations: 175.3 kB / 16.58 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.037/2.037, allocations: 205.4 MB / 222.8 MB, free: 5.875 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05351/0.05351, allocations: 10.74 MB / 281.8 MB, free: 10.79 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007748/0.0007749, allocations: 16 kB / 342.3 MB, free: 23.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1571, allocations: 50.01 MB / 392.3 MB, free: 5.793 MB / 286.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPD_bias): time 0.003702/0.1609, allocations: 1.793 MB / 394.1 MB, free: 3.988 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002839/0.1637, allocations: 0.9792 MB / 395 MB, free: 3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002627/0.164, allocations: 11.88 kB / 395.1 MB, free: 2.988 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004275/0.1645, allocations: 63.61 kB / 395.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.1647, allocations: 55.69 kB / 395.2 MB, free: 2.871 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001314/0.166, allocations: 243.6 kB / 395.4 MB, free: 2.633 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000922/0.167, allocations: 0.4966 MB / 395.9 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002702/0.1672, allocations: 88.89 kB / 396 MB, free: 2.039 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003097/0.1676, allocations: 187.2 kB / 396.2 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003869/0.168, allocations: 211.2 kB / 396.4 MB, free: 1.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.821e-05/0.168, allocations: 20 kB / 396.4 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001843/0.1682, allocations: 83.86 kB / 396.5 MB, free: 1.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002194/0.1685, allocations: 131.6 kB / 396.6 MB, free: 1.418 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1686, allocations: 93.39 kB / 396.7 MB, free: 1.32 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005566/0.1692, allocations: 355.5 kB / 397.1 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.1692, allocations: 3.938 kB / 397.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1692, allocations: 0 / 397.1 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1692, allocations: 4 kB / 397.1 MB, free: 0.9648 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001844/0.1711, allocations: 0.7689 MB / 397.8 MB, free: 148 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.965e-05/0.1711, allocations: 8.031 kB / 397.8 MB, free: 140 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001482/0.1713, allocations: 63.2 kB / 397.9 MB, free: 76 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000841/0.1721, allocations: 404.8 kB / 398.3 MB, free: 15.64 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.524e-05/0.1722, allocations: 36.94 kB / 398.3 MB, free: 15.6 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001266/0.1724, allocations: 51.89 kB / 398.4 MB, free: 15.55 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.1737, allocations: 0.5005 MB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.318e-05/0.1738, allocations: 7.984 kB / 398.9 MB, free: 15.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/0.1738, allocations: 20 kB / 398.9 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.1739, allocations: 11.95 kB / 398.9 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00112/0.175, allocations: 387.7 kB / 399.3 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004369/0.1794, allocations: 1.81 MB / 401.1 MB, free: 12.72 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007492/0.1802, allocations: 262.4 kB / 401.4 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.1806, allocations: 184.6 kB / 401.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.089e-05/0.1807, allocations: 7.984 kB / 401.6 MB, free: 12.26 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004281/0.1811, allocations: 264.8 kB / 401.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of pre-optimization done (n=36): time 2.925e-06/0.1811, allocations: 0 / 401.8 MB, free: 11.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=36): time 0.00102/0.1822, allocations: 0.5744 MB / 402.4 MB, free: 11.39 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.1822, allocations: 97.02 kB / 402.5 MB, free: 11.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005384/0.1828, allocations: 493.8 kB / 403 MB, free: 10.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.1828, allocations: 33.7 kB / 403 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002152/0.183, allocations: 287.8 kB / 403.3 MB, free: 10.46 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1832, allocations: 130.2 kB / 403.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/0.1832, allocations: 12 kB / 403.4 MB, free: 10.32 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001826/0.1834, allocations: 366.8 kB / 403.8 MB, free: 9.957 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000279/0.1837, allocations: 161.1 kB / 403.9 MB, free: 9.801 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000369/0.184, allocations: 329.8 kB / 404.3 MB, free: 9.414 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003926/0.1844, allocations: 266.7 kB / 404.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.1845, allocations: 4 kB / 404.5 MB, free: 9.141 MB / 302.1 MB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001078/0.1855, allocations: 0.7189 MB / 405.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.664e-05/0.1856, allocations: 40.72 kB / 405.3 MB, free: 8.367 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/0.1856, allocations: 8 kB / 405.3 MB, free: 8.359 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.1857, allocations: 12 kB / 405.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004907/0.1861, allocations: 135.7 kB / 405.4 MB, free: 8.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.1862, allocations: 8 kB / 405.4 MB, free: 8.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.1864, allocations: 75.27 kB / 405.5 MB, free: 8.133 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.878e-05/0.1865, allocations: 24 kB / 405.5 MB, free: 8.109 MB / 302.1 MB Warning: Assuming fixed start value for the following 15 variables: processNoCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real processNoCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessBias.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessBias.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) "proper part of the output" type: Real ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.Y[4]:VARIABLE(fixed = true protected = true ) type: Real [4] ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.U[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,$PRE.Disturbance.nextEvent,Disturbance.nextEvent,Disturbance.nextEventScaled,R_Bias.TS_in,R.TS_in,R_Bias.ATreq_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * 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.0003779/0.1869, allocations: 270.6 kB / 405.8 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.322e-05/0.1869, allocations: 59.3 kB / 405.9 MB, free: 7.773 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.1878, allocations: 0.5179 MB / 406.4 MB, free: 7.246 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1878, allocations: 4 kB / 406.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.1878, allocations: 0 / 406.4 MB, free: 7.242 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1879, allocations: 3.984 kB / 406.4 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005369/0.1884, allocations: 481.1 kB / 406.8 MB, free: 6.719 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.1884, allocations: 7.922 kB / 406.9 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.1889, allocations: 83.88 kB / 406.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.1889, allocations: 0 / 406.9 MB, free: 6.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.43e-05/0.189, allocations: 23.94 kB / 407 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.189, allocations: 0 / 407 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.189, allocations: 4 kB / 407 MB, free: 6.602 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.1901, allocations: 0.7158 MB / 407.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.1902, allocations: 128.6 kB / 407.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.488e-05/0.1903, allocations: 15.98 kB / 407.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1905, allocations: 19.94 kB / 407.8 MB, free: 5.684 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.1e-05/0.1905, allocations: 31.91 kB / 407.9 MB, free: 5.652 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.643e-05/0.1906, allocations: 12 kB / 407.9 MB, free: 5.641 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003669/0.191, allocations: 342.8 kB / 408.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.191, allocations: 0 / 408.2 MB, free: 5.305 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004635/0.1914, allocations: 115.7 kB / 408.3 MB, free: 5.191 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 17 (R.Fin,R_Bias.Fin,ProcessCtrl.Y[3],ProcessCtrl.Y[4],ProcessCtrl.U[2],ProcessCtrl.U[3],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.Y[4],processNoCtrl.U[2],processNoCtrl.U[3],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.Y[4],ProcessBias.U[2],ProcessBias.U[3],ProcessBias.w) * Number of discrete variables: 6 ($whenCondition1,Disturbance.a,Disturbance.b,Disturbance.last,Disturbance.nextEvent,Disturbance.nextEventScaled) * Number of discrete states: 6 (Disturbance.nextEvent,Disturbance.last,Disturbance.nextEventScaled,Disturbance.b,Disturbance.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 32 * 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 Backend phase and start with SimCode phase: time 0.0002305/0.1917, allocations: 136.1 kB / 408.5 MB, free: 5.047 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007927/0.1925, allocations: 0.5435 MB / 409 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.1925, allocations: 0 / 409 MB, free: 4.492 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004837/0.193, allocations: 279.1 kB / 409.3 MB, free: 4.207 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003531/0.1933, allocations: 46.61 kB / 409.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.1952, allocations: 1.321 MB / 410.6 MB, free: 2.805 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005084/0.1957, allocations: 0.8896 MB / 411.5 MB, free: 1.887 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.1958, allocations: 39.44 kB / 411.6 MB, free: 1.848 MB / 302.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1958, allocations: 0 / 411.6 MB, free: 1.848 MB / 302.1 MB Notification: Performance of Templates: time 0.009672/0.2055, allocations: 5.863 MB / 417.4 MB, free: 11.98 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_bias.makefile clang++ NOTFOUND -Winvalid-pch -O0 -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/c/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_biasCalcHelperMain.o OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_biasCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppIndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPD_biasCalcHelperMain.o] Error 1