Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") translateModel(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|efficiency.eta|machine.motor.tau_el|machine.motor.w_el",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007733/0.0007732, allocations: 95.97 kB / 16.95 MB, free: 5.953 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.0007848/0.0007848, allocations: 179.7 kB / 17.84 MB, free: 5.617 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.304/1.304, allocations: 223.2 MB / 241.8 MB, free: 260 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1667/0.1667, allocations: 38.1 MB / 331.1 MB, free: 8.852 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002862/0.0002863, allocations: 8 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 59.17 MB / 459.9 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed): time 0.006258/0.1167, allocations: 4.801 MB / 464.7 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002679/0.1195, allocations: 1.567 MB / 466.2 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003386/0.1198, allocations: 27.81 kB / 466.3 MB, free: 0.9766 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003378/0.1202, allocations: 111.2 kB / 466.4 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007154/0.1209, allocations: 282.4 kB / 466.7 MB, free: 0.5898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003803/0.1213, allocations: 131.8 kB / 466.8 MB, free: 472 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007473/0.122, allocations: 0.6111 MB / 467.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003917/0.1224, allocations: 280.5 kB / 467.7 MB, free: 15.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.1227, allocations: 191.2 kB / 467.9 MB, free: 15.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003307/0.1231, allocations: 215.2 kB / 468.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.618e-05/0.1231, allocations: 20 kB / 468.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.421e-05/0.1232, allocations: 20 kB / 468.1 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001093/0.1233, allocations: 99.64 kB / 468.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001026/0.1234, allocations: 109.5 kB / 468.3 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003682/0.1238, allocations: 391 kB / 468.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.1238, allocations: 0 / 468.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1238, allocations: 0 / 468.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.1238, allocations: 0 / 468.7 MB, free: 14.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001094/0.1249, allocations: 0.6444 MB / 469.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.125, allocations: 8.031 kB / 469.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.1251, allocations: 47.44 kB / 469.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.1256, allocations: 383.1 kB / 469.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/0.1257, allocations: 54.7 kB / 469.8 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.921e-05/0.1257, allocations: 43.86 kB / 469.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006485/0.1264, allocations: 444 kB / 470.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.1264, allocations: 4 kB / 470.3 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.286e-05/0.1265, allocations: 19.94 kB / 470.3 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.1265, allocations: 8 kB / 470.3 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.127, allocations: 278 kB / 470.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.129, allocations: 1.845 MB / 472.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003054/0.1293, allocations: 179.7 kB / 472.6 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.1294, allocations: 74.55 kB / 472.7 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.1295, allocations: 4.281 kB / 472.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1295, allocations: 38.56 kB / 472.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=18): time 1.543e-06/0.1295, allocations: 0 / 472.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001237/0.1307, allocations: 0.7086 MB / 473.4 MB, free: 9.426 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.85e-05/0.1308, allocations: 110.8 kB / 473.5 MB, free: 9.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.1312, allocations: 308.8 kB / 473.9 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1312, allocations: 29.7 kB / 473.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001492/0.1314, allocations: 255.5 kB / 474.1 MB, free: 8.695 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.658e-05/0.1314, allocations: 67 kB / 474.2 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.1314, allocations: 4 kB / 474.2 MB, free: 8.625 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001199/0.1316, allocations: 346.8 kB / 474.5 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001484/0.1317, allocations: 76.61 kB / 474.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000224/0.1319, allocations: 197.7 kB / 474.8 MB, free: 7.953 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1321, allocations: 106.5 kB / 474.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1322, allocations: 0 / 474.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0005083/0.1327, allocations: 336.7 kB / 475.2 MB, free: 7.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.1327, allocations: 10.19 kB / 475.2 MB, free: 7.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.1327, allocations: 4 kB / 475.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.1327, allocations: 4 kB / 475.3 MB, free: 7.504 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.133, allocations: 76.41 kB / 475.3 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.443e-05/0.133, allocations: 11.98 kB / 475.3 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.1332, allocations: 23.88 kB / 475.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.1332, allocations: 16 kB / 475.4 MB, free: 7.379 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * 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.0001786/0.1334, allocations: 181.7 kB / 475.6 MB, free: 7.191 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.1335, allocations: 35.61 kB / 475.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003774/0.1339, allocations: 200.6 kB / 475.8 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1339, allocations: 7.984 kB / 475.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1339, allocations: 0 / 475.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1339, allocations: 0 / 475.8 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008619/0.1348, allocations: 0.6162 MB / 476.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1348, allocations: 0 / 476.4 MB, free: 6.273 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.135, allocations: 52 kB / 476.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.135, allocations: 0 / 476.5 MB, free: 6.223 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1351, allocations: 7.938 kB / 476.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.1351, allocations: 0 / 476.5 MB, free: 6.215 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1351, allocations: 7.953 kB / 476.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005338/0.1356, allocations: 458.1 kB / 476.9 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.812e-05/0.1357, allocations: 100.7 kB / 477 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.099e-05/0.1357, allocations: 8 kB / 477 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.1359, allocations: 12.03 kB / 477 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.928e-05/0.136, allocations: 11.94 kB / 477.1 MB, free: 5.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.136, allocations: 12 kB / 477.1 MB, free: 5.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1362, allocations: 211.1 kB / 477.3 MB, free: 5.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1362, allocations: 3.938 kB / 477.3 MB, free: 5.367 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.1366, allocations: 72 kB / 477.3 MB, free: 5.297 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (efficiency.pav,efficiency.qav,machine.rotor.phi,machine.rotor.w) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001107/0.1367, allocations: 103.2 kB / 477.4 MB, free: 5.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003837/0.1371, allocations: 200 kB / 477.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.1371, allocations: 0 / 477.6 MB, free: 4.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000155/0.1373, allocations: 75.91 kB / 477.7 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006176/0.1379, allocations: 93.62 kB / 477.8 MB, free: 4.824 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001637/0.1395, allocations: 1.153 MB / 479 MB, free: 3.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.14, allocations: 0.8227 MB / 479.8 MB, free: 2.781 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.496e-05/0.14, allocations: 27.44 kB / 479.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.14, allocations: 0 / 479.8 MB, free: 2.754 MB / 350.1 MB Notification: Performance of Templates: time 0.006314/0.1464, allocations: 4.466 MB / 484.3 MB, free: 14.31 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeed.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 OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Drives.DCcharSpeedCalcHelperMain.o] Error 1