Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") translateModel(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter.i.1.|meter.i.2.|meter.i.3.|meter.p.1.|meter.p.2.|meter.p.3.|meter.v.1.|meter.v.2.|meter.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007932/0.000793, allocations: 95.45 kB / 16.96 MB, free: 5.566 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.0009586/0.0009586, allocations: 191.5 kB / 17.85 MB, free: 5.242 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.308/1.308, allocations: 223.2 MB / 241.8 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.1709/0.1709, allocations: 38.09 MB / 331.1 MB, free: 8.879 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003424/0.0003425, allocations: 8 kB / 400.7 MB, free: 34.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1203, allocations: 59.16 MB / 459.9 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD): time 0.005801/0.1261, allocations: 4.58 MB / 464.4 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00316/0.1293, allocations: 1.656 MB / 466.1 MB, free: 1.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005525/0.1299, allocations: 23.81 kB / 466.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003669/0.1303, allocations: 75.39 kB / 466.2 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009908/0.1313, allocations: 290.6 kB / 466.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008619/0.1322, allocations: 243.5 kB / 466.7 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009742/0.1332, allocations: 0.7209 MB / 467.4 MB, free: 15.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008974/0.1341, allocations: 450.2 kB / 467.9 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005534/0.1346, allocations: 227 kB / 468.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006539/0.1353, allocations: 315 kB / 468.4 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.185e-05/0.1354, allocations: 19.94 kB / 468.4 MB, free: 14.81 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003304/0.1357, allocations: 91.86 kB / 468.5 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002584/0.136, allocations: 211.5 kB / 468.7 MB, free: 14.52 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001967/0.1362, allocations: 113.5 kB / 468.8 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005548/0.1368, allocations: 450.8 kB / 469.3 MB, free: 13.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.1368, allocations: 8 kB / 469.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1368, allocations: 0 / 469.3 MB, free: 13.95 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.172e-05/0.1368, allocations: 0 / 469.3 MB, free: 13.95 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: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001251/0.1381, allocations: 0.6801 MB / 470 MB, free: 13.22 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.1381, allocations: 12.02 kB / 470 MB, free: 13.21 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005413/0.1387, allocations: 87.28 kB / 470.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005653/0.1393, allocations: 390.8 kB / 470.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.1393, allocations: 29 kB / 470.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00013/0.1394, allocations: 51.97 kB / 470.5 MB, free: 12.62 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009294/0.1404, allocations: 0.6638 MB / 471.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.1404, allocations: 3.938 kB / 471.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.266e-05/0.1405, allocations: 20 kB / 471.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001313/0.1406, allocations: 44.97 kB / 471.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007447/0.1414, allocations: 495.5 kB / 471.7 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003271/0.1446, allocations: 3.152 MB / 474.9 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.1451, allocations: 245.9 kB / 475.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.1453, allocations: 119.9 kB / 475.2 MB, free: 7.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.491e-05/0.1453, allocations: 12.12 kB / 475.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.1454, allocations: 34.75 kB / 475.3 MB, free: 7.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=23): time 3.768e-06/0.1454, allocations: 7.922 kB / 475.3 MB, free: 7.566 MB / 350.1 MB Notification: Performance of matching and sorting (n=24): time 0.001521/0.1469, allocations: 0.8902 MB / 476.2 MB, free: 6.625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.147, allocations: 89.03 kB / 476.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.1474, allocations: 324.4 kB / 476.6 MB, free: 6.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1474, allocations: 33.7 kB / 476.6 MB, free: 6.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.1476, allocations: 295 kB / 476.9 MB, free: 5.859 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.322e-05/0.1477, allocations: 82.84 kB / 477 MB, free: 5.777 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.1478, allocations: 11.98 kB / 477 MB, free: 5.766 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1479, allocations: 346.9 kB / 477.3 MB, free: 5.418 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/0.1481, allocations: 132.8 kB / 477.5 MB, free: 5.289 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.1485, allocations: 317.1 kB / 477.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002665/0.1487, allocations: 196.5 kB / 478 MB, free: 4.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.1488, allocations: 0 / 478 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001051/0.1498, allocations: 0.6038 MB / 478.6 MB, free: 4.082 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/0.1499, allocations: 8 kB / 478.6 MB, free: 4.074 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005903/0.1504, allocations: 321.3 kB / 478.9 MB, free: 3.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004043/0.1509, allocations: 125.9 kB / 479 MB, free: 3.625 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002971/0.1512, allocations: 91.83 kB / 479.1 MB, free: 3.535 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002807/0.154, allocations: 3.01 MB / 482.1 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002637/0.1543, allocations: 24.12 kB / 482.1 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.1543, allocations: 16 kB / 482.2 MB, free: 220 kB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (48): * Single equations (assignments): 46 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002876/0.1546, allocations: 213.7 kB / 482.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.125e-05/0.1547, allocations: 39.48 kB / 482.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004972/0.1552, allocations: 313 kB / 482.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1552, allocations: 8 kB / 482.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.1552, allocations: 0 / 482.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.1552, allocations: 0 / 482.7 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.1562, allocations: 0.8004 MB / 483.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.1562, allocations: 3.938 kB / 483.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.1565, allocations: 59.95 kB / 483.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.1566, allocations: 0 / 483.6 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.1566, allocations: 12.06 kB / 483.6 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.1566, allocations: 11.94 kB / 483.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.1566, allocations: 3.938 kB / 483.6 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005881/0.1572, allocations: 0.505 MB / 484.1 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.1573, allocations: 124.7 kB / 484.2 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.027e-05/0.1574, allocations: 12 kB / 484.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001508/0.1575, allocations: 11.98 kB / 484.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.29e-05/0.1576, allocations: 15.98 kB / 484.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.757e-05/0.1576, allocations: 8 kB / 484.3 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002086/0.1578, allocations: 219 kB / 484.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.1578, allocations: 3.938 kB / 484.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004688/0.1583, allocations: 103.9 kB / 484.6 MB, free: 13.64 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (indYD.i[1],indYD.i[2],indYD.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 (27): * Single equations (assignments): 26 * 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.0001212/0.1584, allocations: 107.2 kB / 484.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008186/0.1592, allocations: 0.5689 MB / 485.3 MB, free: 12.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1593, allocations: 4.188 kB / 485.3 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001728/0.1594, allocations: 127.8 kB / 485.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004761/0.1599, allocations: 57.36 kB / 485.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.1616, allocations: 1.295 MB / 486.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.1621, allocations: 0.8584 MB / 487.6 MB, free: 10.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.133e-05/0.1622, allocations: 43.36 kB / 487.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1622, allocations: 0 / 487.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of Templates: time 0.008985/0.1712, allocations: 6.474 MB / 494.1 MB, free: 4.02 MB / 366.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYD.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.Elementary.ImpedanceYDCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.ImpedanceYDCalcHelperMain.o] Error 1