Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Machines,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|motor.i|motor.v|motor.w_el|power.p",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 108.5 kB / 17.16 MB, free: 6.324 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.00104/0.00104, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.38/1.38, allocations: 222.9 MB / 241.7 MB, free: 15.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1738/0.1738, allocations: 38.04 MB / 329.9 MB, free: 9.098 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001027/0.001027, allocations: 63.69 kB / 398.7 MB, free: 34.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1058, allocations: 58.06 MB / 456.8 MB, free: 8.559 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Machines): time 0.006521/0.1123, allocations: 5.178 MB / 462 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002444/0.1148, allocations: 1.69 MB / 463.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003211/0.1152, allocations: 31.81 kB / 463.7 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003958/0.1156, allocations: 99.36 kB / 463.8 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005645/0.1162, allocations: 242.7 kB / 464 MB, free: 1.285 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000235/0.1164, allocations: 99.89 kB / 464.1 MB, free: 1.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006511/0.1171, allocations: 0.6384 MB / 464.8 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.1173, allocations: 131.4 kB / 464.9 MB, free: 428 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001988/0.1175, allocations: 187.1 kB / 465.1 MB, free: 240 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.1178, allocations: 215.1 kB / 465.3 MB, free: 24 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.1178, allocations: 16 kB / 465.3 MB, free: 8 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.69e-05/0.1179, allocations: 20.05 kB / 465.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.762e-05/0.118, allocations: 91.66 kB / 465.4 MB, free: 15.9 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.1182, allocations: 179 kB / 465.6 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002419/0.1184, allocations: 283.4 kB / 465.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.736e-06/0.1184, allocations: 0 / 465.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.1184, allocations: 0 / 465.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1184, allocations: 0 / 465.9 MB, free: 15.45 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.0009776/0.1194, allocations: 0.6671 MB / 466.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.098e-05/0.1195, allocations: 12.03 kB / 466.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.232e-05/0.1195, allocations: 40.47 kB / 466.6 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005092/0.1201, allocations: 375.7 kB / 466.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.223e-05/0.1201, allocations: 28.5 kB / 467 MB, free: 14.25 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.241e-05/0.1201, allocations: 28 kB / 467 MB, free: 14.22 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004473/0.1206, allocations: 334.2 kB / 467.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1206, allocations: 4 kB / 467.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.467e-05/0.1206, allocations: 8 kB / 467.3 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1207, allocations: 8 kB / 467.3 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.121, allocations: 205.5 kB / 467.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1224, allocations: 1.498 MB / 469 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003716/0.1228, allocations: 190.4 kB / 469.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001034/0.1229, allocations: 75.47 kB / 469.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.255e-05/0.1229, allocations: 11.88 kB / 469.3 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.123, allocations: 34.56 kB / 469.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.303e-06/0.123, allocations: 0 / 469.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of matching and sorting (n=18): time 0.001037/0.124, allocations: 0.6836 MB / 470 MB, free: 10.94 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/0.1241, allocations: 136.8 kB / 470.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002876/0.1244, allocations: 321.6 kB / 470.5 MB, free: 10.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.101e-05/0.1244, allocations: 25.7 kB / 470.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001431/0.1246, allocations: 215.8 kB / 470.7 MB, free: 10.2 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.927e-05/0.1246, allocations: 74.97 kB / 470.8 MB, free: 10.12 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.71e-05/0.1247, allocations: 53.69 kB / 470.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001483/0.1249, allocations: 342.8 kB / 471.2 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.1249, allocations: 43.98 kB / 471.2 MB, free: 9.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.1251, allocations: 148.8 kB / 471.4 MB, free: 9.488 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002542/0.1254, allocations: 228.3 kB / 471.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1254, allocations: 0 / 471.6 MB, free: 9.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003475/0.1257, allocations: 260.9 kB / 471.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1257, allocations: 6.344 kB / 471.8 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.1258, allocations: 4 kB / 471.8 MB, free: 8.953 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.555e-05/0.1258, allocations: 7.938 kB / 471.9 MB, free: 8.945 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.1261, allocations: 80.34 kB / 471.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000857/0.127, allocations: 1.29 MB / 473.2 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001369/0.1271, allocations: 12.16 kB / 473.2 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.1272, allocations: 8 kB / 473.2 MB, free: 7.422 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001599/0.1273, allocations: 167.2 kB / 473.4 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.666e-05/0.1274, allocations: 39.56 kB / 473.4 MB, free: 7.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002916/0.1277, allocations: 184.4 kB / 473.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.1277, allocations: 4 kB / 473.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.1277, allocations: 0 / 473.6 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1277, allocations: 8.016 kB / 473.6 MB, free: 7.012 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006976/0.1285, allocations: 0.5412 MB / 474.2 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.1285, allocations: 4 kB / 474.2 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002151/0.1287, allocations: 35.98 kB / 474.2 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1287, allocations: 3.984 kB / 474.2 MB, free: 6.371 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.1287, allocations: 8 kB / 474.2 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.1287, allocations: 7.922 kB / 474.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1287, allocations: 4 kB / 474.2 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004361/0.1292, allocations: 490.4 kB / 474.7 MB, free: 5.852 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.408e-05/0.1293, allocations: 108.6 kB / 474.8 MB, free: 5.727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.406e-05/0.1293, allocations: 4 kB / 474.8 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001893/0.1295, allocations: 4 kB / 474.8 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.012e-05/0.1295, allocations: 19.97 kB / 474.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.447e-05/0.1296, allocations: 11.98 kB / 474.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1298, allocations: 227.1 kB / 475.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.1298, allocations: 0 / 475.1 MB, free: 5.473 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003893/0.1302, allocations: 63.94 kB / 475.1 MB, free: 5.41 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (rotor.phi,rotor.w,motor.i) * 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 (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.0001055/0.1303, allocations: 99.25 kB / 475.2 MB, free: 5.301 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003659/0.1307, allocations: 166.9 kB / 475.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1307, allocations: 0 / 475.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.1308, allocations: 71.84 kB / 475.5 MB, free: 5.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007059/0.1315, allocations: 88.94 kB / 475.6 MB, free: 4.984 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/0.133, allocations: 0.9753 MB / 476.5 MB, free: 3.969 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.1333, allocations: 0.8031 MB / 477.3 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.1334, allocations: 31.44 kB / 477.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1334, allocations: 0 / 477.4 MB, free: 3.109 MB / 350.1 MB Notification: Performance of Templates: time 0.006237/0.1397, allocations: 4.688 MB / 482.1 MB, free: 14.44 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Machines.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 OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.MachinesCalcHelperMain.o] Error 1