Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PQsource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sensor.p.1.|sensor.p.2.|sensor.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007562/0.0007562, allocations: 95.27 kB / 16.95 MB, free: 5.957 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.0007632/0.0007633, allocations: 180.3 kB / 17.84 MB, free: 5.609 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.306/1.306, allocations: 223.3 MB / 241.9 MB, free: 352 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1764/0.1764, allocations: 38.1 MB / 331.1 MB, free: 8.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003107/0.0003108, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1041, allocations: 59.17 MB / 459.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PQsource): time 0.004698/0.1088, allocations: 4.587 MB / 464.5 MB, free: 2.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001864/0.1107, allocations: 1.403 MB / 465.9 MB, free: 1.418 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000175/0.1109, allocations: 27.81 kB / 465.9 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1112, allocations: 99.28 kB / 466 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004844/0.1117, allocations: 274.7 kB / 466.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.1121, allocations: 163.7 kB / 466.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006347/0.1127, allocations: 0.666 MB / 467.1 MB, free: 200 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009029/0.1136, allocations: 0.527 MB / 467.6 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003796/0.114, allocations: 203 kB / 467.8 MB, free: 15.44 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004871/0.1145, allocations: 279.1 kB / 468.1 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.849e-05/0.1146, allocations: 16 kB / 468.1 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002307/0.1148, allocations: 83.86 kB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.115, allocations: 187.5 kB / 468.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.1151, allocations: 105.5 kB / 468.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004262/0.1156, allocations: 391 kB / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.1156, allocations: 0 / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1156, allocations: 0 / 468.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.1156, allocations: 0 / 468.8 MB, free: 14.39 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: 92 * Number of variables: 92 Notification: Performance of Generate backend data structure: time 0.0009821/0.1166, allocations: 0.6404 MB / 469.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.1166, allocations: 8.031 kB / 469.5 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005305/0.1172, allocations: 79.47 kB / 469.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000555/0.1177, allocations: 390 kB / 469.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.1178, allocations: 24.95 kB / 470 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/0.1179, allocations: 43.98 kB / 470 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006896/0.1186, allocations: 484.8 kB / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.1186, allocations: 4 kB / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.377e-05/0.1187, allocations: 12 kB / 470.5 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.634e-05/0.1188, allocations: 24.98 kB / 470.5 MB, free: 12.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005204/0.1193, allocations: 351.7 kB / 470.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002048/0.1213, allocations: 1.725 MB / 472.6 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.1216, allocations: 153.1 kB / 472.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.1218, allocations: 109.7 kB / 472.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.1218, allocations: 4 kB / 472.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.1218, allocations: 38.48 kB / 472.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.1218, allocations: 3.938 kB / 472.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001403/0.1233, allocations: 0.8914 MB / 473.8 MB, free: 9.094 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.1233, allocations: 77.11 kB / 473.9 MB, free: 9 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.1236, allocations: 312.5 kB / 474.2 MB, free: 8.684 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.1236, allocations: 29.7 kB / 474.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.1238, allocations: 251.4 kB / 474.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.665e-05/0.1238, allocations: 63.22 kB / 474.5 MB, free: 8.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.386e-05/0.1239, allocations: 12 kB / 474.5 MB, free: 8.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.124, allocations: 338.8 kB / 474.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001518/0.1242, allocations: 100.2 kB / 474.9 MB, free: 7.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002018/0.1244, allocations: 201.2 kB / 475.1 MB, free: 7.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001832/0.1246, allocations: 135.1 kB / 475.3 MB, free: 7.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1246, allocations: 4 kB / 475.3 MB, free: 7.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008013/0.1254, allocations: 472 kB / 475.7 MB, free: 7.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.1254, allocations: 8 kB / 475.7 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005429/0.126, allocations: 311.4 kB / 476 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004164/0.1264, allocations: 140.8 kB / 476.2 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.1266, allocations: 55.91 kB / 476.2 MB, free: 6.531 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002364/0.129, allocations: 2.197 MB / 478.4 MB, free: 4.203 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.1291, allocations: 15.92 kB / 478.5 MB, free: 4.188 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.025e-05/0.1291, allocations: 16 kB / 478.5 MB, free: 4.172 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 (29): * Single equations (assignments): 28 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0001957/0.1293, allocations: 189.7 kB / 478.7 MB, free: 3.977 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.028e-05/0.1294, allocations: 31.58 kB / 478.7 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004033/0.1298, allocations: 264.5 kB / 478.9 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.1298, allocations: 4 kB / 478.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1298, allocations: 0 / 478.9 MB, free: 3.672 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.1298, allocations: 3.984 kB / 479 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009822/0.1308, allocations: 0.7312 MB / 479.7 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1308, allocations: 4 kB / 479.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000197/0.1311, allocations: 39.92 kB / 479.7 MB, free: 2.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.623e-05/0.1311, allocations: 32.83 kB / 479.8 MB, free: 2.793 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.1312, allocations: 16.05 kB / 479.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1312, allocations: 0 / 479.8 MB, free: 2.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.488e-06/0.1312, allocations: 11.95 kB / 479.8 MB, free: 2.766 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004965/0.1317, allocations: 440.5 kB / 480.2 MB, free: 2.309 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.1318, allocations: 108.8 kB / 480.3 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.1318, allocations: 11.95 kB / 480.3 MB, free: 2.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.132, allocations: 11.98 kB / 480.3 MB, free: 2.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.83e-05/0.132, allocations: 11.98 kB / 480.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.167e-05/0.132, allocations: 8 kB / 480.4 MB, free: 2.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001883/0.1322, allocations: 215 kB / 480.6 MB, free: 1.934 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1322, allocations: 4 kB / 480.6 MB, free: 1.93 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004127/0.1326, allocations: 84 kB / 480.7 MB, free: 1.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (line.i[1],line.i[2],line.i[3]) * 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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001175/0.1328, allocations: 107.2 kB / 480.8 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006063/0.1334, allocations: 399.1 kB / 481.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1334, allocations: 0 / 481.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.1336, allocations: 189.9 kB / 481.3 MB, free: 1.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004162/0.134, allocations: 64.25 kB / 481.4 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.1354, allocations: 1.123 MB / 482.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004042/0.1358, allocations: 0.846 MB / 483.4 MB, free: 15.03 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.818e-05/0.1359, allocations: 23.44 kB / 483.4 MB, free: 15 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1359, allocations: 0 / 483.4 MB, free: 15 MB / 366.1 MB Notification: Performance of Templates: time 0.007371/0.1432, allocations: 5.677 MB / 489.1 MB, free: 9.328 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsource.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.AC3ph.Generation.PQsourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PQsourceCalcHelperMain.o] Error 1