Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000714/0.0007139, allocations: 95.69 kB / 17.31 MB, free: 5.594 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.0008033/0.0008034, allocations: 177.9 kB / 18.21 MB, free: 5.168 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.505/1.505, allocations: 223.3 MB / 242.2 MB, free: 180 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1747/0.1747, allocations: 38.1 MB / 331.5 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003526/0.0003526, allocations: 9.312 kB / 401.4 MB, free: 34.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1336, allocations: 59.17 MB / 460.5 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.00273/0.1364, allocations: 1.858 MB / 462.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1381, allocations: 1.08 MB / 463.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.854e-05/0.1382, allocations: 0 / 463.5 MB, free: 4.102 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001577/0.1384, allocations: 11.92 kB / 463.5 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001298/0.1385, allocations: 55.78 kB / 463.5 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007308/0.1392, allocations: 239.5 kB / 463.8 MB, free: 3.801 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.1395, allocations: 271.4 kB / 464 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.928e-05/0.1396, allocations: 4 kB / 464 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.049e-05/0.1397, allocations: 47.77 kB / 464.1 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.1398, allocations: 71.73 kB / 464.2 MB, free: 3.414 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.1398, allocations: 4 kB / 464.2 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006066/0.1404, allocations: 407.2 kB / 464.6 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.87e-05/0.1405, allocations: 43.89 kB / 464.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.1406, allocations: 61.44 kB / 464.7 MB, free: 2.902 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004883/0.1411, allocations: 415.3 kB / 465.1 MB, free: 2.496 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1411, allocations: 4 kB / 465.1 MB, free: 2.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.1411, allocations: 4 kB / 465.1 MB, free: 2.488 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1411, allocations: 0 / 465.1 MB, free: 2.488 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0004894/0.1416, allocations: 444.9 kB / 465.5 MB, free: 2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.1417, allocations: 8.031 kB / 465.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.1417, allocations: 16.75 kB / 465.5 MB, free: 1.977 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001909/0.1419, allocations: 196.1 kB / 465.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.1419, allocations: 384 / 465.7 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.1419, allocations: 8.125 kB / 465.7 MB, free: 1.738 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.1421, allocations: 97.64 kB / 465.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.1421, allocations: 0 / 465.8 MB, free: 1.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.1422, allocations: 3.938 kB / 465.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.787e-06/0.1422, allocations: 0 / 465.8 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.145e-05/0.1423, allocations: 59.97 kB / 465.9 MB, free: 1.574 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/0.1424, allocations: 177.5 kB / 466.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.1426, allocations: 138.5 kB / 466.2 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001196/0.1427, allocations: 120.8 kB / 466.3 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.636e-06/0.1427, allocations: 4 kB / 466.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.209e-05/0.1428, allocations: 30.56 kB / 466.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of pre-optimization done (n=20): time 1.002e-06/0.1428, allocations: 0 / 466.3 MB, free: 1.043 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.0004851/0.1433, allocations: 303.3 kB / 466.6 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.1434, allocations: 89.11 kB / 466.7 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.1435, allocations: 136.2 kB / 466.9 MB, free: 500 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.328e-05/0.1435, allocations: 29.64 kB / 466.9 MB, free: 464 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.584e-05/0.1436, allocations: 92.47 kB / 467 MB, free: 368 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.264e-05/0.1437, allocations: 67.05 kB / 467.1 MB, free: 300 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.1437, allocations: 21.7 kB / 467.1 MB, free: 272 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.00016/0.1439, allocations: 322.8 kB / 467.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.926e-05/0.144, allocations: 55.97 kB / 467.4 MB, free: 15.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.1441, allocations: 59.23 kB / 467.5 MB, free: 15.83 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.1443, allocations: 224.2 kB / 467.7 MB, free: 15.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1443, allocations: 4 kB / 467.7 MB, free: 15.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002618/0.1446, allocations: 223 kB / 467.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.1447, allocations: 57.67 kB / 468 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.176e-06/0.1447, allocations: 4.062 kB / 468 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.1447, allocations: 0 / 468 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.1447, allocations: 0 / 468 MB, free: 15.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.1447, allocations: 4 kB / 468 MB, free: 15.29 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.173e-05/0.1448, allocations: 11.84 kB / 468 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.427e-05/0.1449, allocations: 8 kB / 468 MB, free: 15.27 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001863/0.1451, allocations: 187.4 kB / 468.2 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1451, allocations: 11.91 kB / 468.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.921e-05/0.1451, allocations: 9.188 kB / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.1451, allocations: 4 kB / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1451, allocations: 0 / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.1451, allocations: 0 / 468.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1453, allocations: 201.4 kB / 468.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.1453, allocations: 3.938 kB / 468.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.1453, allocations: 4 kB / 468.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1453, allocations: 0 / 468.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.1454, allocations: 4 kB / 468.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1454, allocations: 0 / 468.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1454, allocations: 0 / 468.4 MB, free: 14.79 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000477/0.1458, allocations: 397.1 kB / 468.8 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.878e-05/0.1459, allocations: 88.95 kB / 468.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.701e-05/0.146, allocations: 4 kB / 468.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.044e-05/0.146, allocations: 4 kB / 468.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.859e-05/0.146, allocations: 4 kB / 468.9 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.1461, allocations: 4 kB / 468.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.286e-05/0.1461, allocations: 109.9 kB / 469 MB, free: 14.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1461, allocations: 0 / 469 MB, free: 14.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006174/0.1468, allocations: 136 kB / 469.2 MB, free: 14.02 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * 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.0005045/0.1473, allocations: 190.5 kB / 469.4 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006227/0.1479, allocations: 0.5694 MB / 469.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1479, allocations: 0 / 469.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003836/0.1483, allocations: 467.3 kB / 470.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.1486, allocations: 24 kB / 470.4 MB, free: 12.76 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006646/0.1493, allocations: 467.1 kB / 470.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.1496, allocations: 0.7238 MB / 471.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.59e-05/0.1496, allocations: 7.438 kB / 471.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1496, allocations: 0 / 471.6 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Templates: time 0.006445/0.1561, allocations: 3.087 MB / 474.7 MB, free: 8.422 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.Precalculation.TransDatFromEqCircCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCircCalcHelperMain.o] Error 1