Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.PVsource,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.PVsource") translateModel(PowerSystems.Examples.AC3ph.Generation.PVsource,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.PVsource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001019/0.001019, allocations: 107.5 kB / 17.16 MB, free: 6.082 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.0009714/0.0009714, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.353/1.353, 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.1836/0.1836, allocations: 38.02 MB / 329.9 MB, free: 9.062 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 61.05 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1013, allocations: 58.05 MB / 456.8 MB, free: 8.531 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.PVsource): time 0.007309/0.1087, allocations: 5.236 MB / 462 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002715/0.1114, allocations: 1.504 MB / 463.5 MB, free: 1.758 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004891/0.112, allocations: 23.88 kB / 463.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.1132, allocations: 388.6 kB / 463.9 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006302/0.1138, allocations: 231 kB / 464.2 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.1143, allocations: 143.8 kB / 464.3 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000828/0.1151, allocations: 0.8454 MB / 465.1 MB, free: 144 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005161/0.1157, allocations: 276.8 kB / 465.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.1161, allocations: 211 kB / 465.6 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.1167, allocations: 303 kB / 465.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.562e-05/0.1168, allocations: 24 kB / 465.9 MB, free: 15.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003401/0.1172, allocations: 127.8 kB / 466.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000209/0.1174, allocations: 179.5 kB / 466.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002925/0.1177, allocations: 218.9 kB / 466.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000478/0.1182, allocations: 399.1 kB / 466.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.1182, allocations: 0 / 466.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1182, allocations: 0 / 466.8 MB, free: 14.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.1182, allocations: 4 kB / 466.8 MB, free: 14.43 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.00134/0.1196, allocations: 0.6951 MB / 467.5 MB, free: 13.69 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1196, allocations: 8.031 kB / 467.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006159/0.1202, allocations: 92.39 kB / 467.6 MB, free: 13.59 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.1209, allocations: 387.2 kB / 468 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.1209, allocations: 25.38 kB / 468 MB, free: 13.14 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.121, allocations: 48.11 kB / 468.1 MB, free: 13.1 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006947/0.1217, allocations: 472.8 kB / 468.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.1218, allocations: 4 kB / 468.6 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.432e-05/0.1218, allocations: 12 kB / 468.6 MB, free: 12.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001091/0.1219, allocations: 28.98 kB / 468.6 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005023/0.1224, allocations: 339.7 kB / 468.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00208/0.1245, allocations: 1.706 MB / 470.6 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000279/0.1248, allocations: 149.1 kB / 470.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001545/0.125, allocations: 109.7 kB / 470.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.224e-05/0.125, allocations: 8.219 kB / 470.9 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.927e-05/0.125, allocations: 34.56 kB / 470.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=16): time 2.745e-06/0.125, allocations: 0 / 470.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.001466/0.1265, allocations: 0.8559 MB / 471.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.727e-05/0.1266, allocations: 85.09 kB / 471.9 MB, free: 9.043 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.1269, allocations: 304.5 kB / 472.2 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.1269, allocations: 25.7 kB / 472.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001614/0.1271, allocations: 255.4 kB / 472.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.1271, allocations: 63.09 kB / 472.5 MB, free: 8.387 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.1272, allocations: 57.98 kB / 472.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001344/0.1274, allocations: 342.8 kB / 472.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.1276, allocations: 100.2 kB / 473 MB, free: 7.879 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1278, allocations: 189.2 kB / 473.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000375/0.1281, allocations: 318.5 kB / 473.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1281, allocations: 0 / 473.5 MB, free: 7.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008142/0.129, allocations: 464.2 kB / 473.9 MB, free: 6.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.129, allocations: 4.438 kB / 473.9 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005591/0.1296, allocations: 292.5 kB / 474.2 MB, free: 6.539 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004719/0.13, allocations: 124.8 kB / 474.4 MB, free: 6.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.1302, allocations: 55.84 kB / 474.4 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002493/0.1327, allocations: 2.157 MB / 476.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001636/0.1329, allocations: 11.98 kB / 476.6 MB, free: 4.062 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.1329, allocations: 16 kB / 476.6 MB, free: 4.047 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0002236/0.1332, allocations: 193.7 kB / 476.8 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.229e-05/0.1332, allocations: 27.72 kB / 476.8 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004062/0.1336, allocations: 249.3 kB / 477.1 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1337, allocations: 4 kB / 477.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.242e-06/0.1337, allocations: 0 / 477.1 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1337, allocations: 3.938 kB / 477.1 MB, free: 3.555 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.1347, allocations: 0.7157 MB / 477.8 MB, free: 2.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.1347, allocations: 3.938 kB / 477.8 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.1349, allocations: 43.91 kB / 477.8 MB, free: 2.727 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.142e-05/0.135, allocations: 28.84 kB / 477.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.903e-05/0.135, allocations: 11.98 kB / 477.9 MB, free: 2.684 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001125/0.1362, allocations: 1.482 MB / 479.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1362, allocations: 4 kB / 479.3 MB, free: 1.07 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000502/0.1367, allocations: 425.4 kB / 479.8 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/0.1368, allocations: 112.8 kB / 479.9 MB, free: 0.5 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.1368, allocations: 8.031 kB / 479.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.137, allocations: 8 kB / 479.9 MB, free: 496 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.137, allocations: 11.92 kB / 479.9 MB, free: 484 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.137, allocations: 8 kB / 479.9 MB, free: 476 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002234/0.1373, allocations: 219 kB / 480.1 MB, free: 260 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1373, allocations: 0 / 480.1 MB, free: 260 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004364/0.1377, allocations: 88 kB / 480.2 MB, free: 172 kB / 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 (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 {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000117/0.1378, allocations: 107.1 kB / 480.3 MB, free: 56 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006538/0.1385, allocations: 393.7 kB / 480.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1385, allocations: 0 / 480.7 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003096/0.1388, allocations: 231.5 kB / 480.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004432/0.1393, allocations: 49.06 kB / 481 MB, free: 15.37 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.1407, allocations: 1.066 MB / 482 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004437/0.1411, allocations: 0.8457 MB / 482.9 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.192e-05/0.1412, allocations: 23.44 kB / 482.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1412, allocations: 4 kB / 482.9 MB, free: 13.36 MB / 366.1 MB Notification: Performance of Templates: time 0.007334/0.1486, allocations: 5.709 MB / 488.6 MB, free: 7.66 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsource.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.AC3ph.Generation.PVsourceCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.PVsourceCalcHelperMain.o] Error 1