Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.Load,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.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,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.Load") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000991/0.0009909, allocations: 111.6 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.001003/0.001003, 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.296/1.296, 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.1645/0.1645, allocations: 38.04 MB / 329.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 57.78 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1188, allocations: 58.05 MB / 456.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.0064/0.1252, allocations: 5.131 MB / 461.9 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002551/0.1278, allocations: 1.73 MB / 463.6 MB, free: 1.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002518/0.1281, allocations: 23.88 kB / 463.7 MB, free: 1.629 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008106/0.1289, allocations: 271 kB / 463.9 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004656/0.1294, allocations: 243 kB / 464.2 MB, free: 1.125 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.1299, allocations: 231.6 kB / 464.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007109/0.1306, allocations: 0.8886 MB / 465.3 MB, free: 4 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004367/0.1311, allocations: 280.2 kB / 465.6 MB, free: 15.74 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.1314, allocations: 246.9 kB / 465.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004717/0.1319, allocations: 394.8 kB / 466.2 MB, free: 15.11 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.1319, allocations: 28 kB / 466.2 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.1322, allocations: 151.7 kB / 466.4 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.1324, allocations: 227.4 kB / 466.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002557/0.1327, allocations: 258.6 kB / 466.8 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004446/0.1332, allocations: 498.9 kB / 467.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1332, allocations: 0 / 467.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1332, allocations: 0 / 467.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.662e-06/0.1332, allocations: 4 kB / 467.3 MB, free: 13.96 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00182/0.135, allocations: 0.8866 MB / 468.2 MB, free: 13.03 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1351, allocations: 8.031 kB / 468.2 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000518/0.1356, allocations: 92.22 kB / 468.3 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008605/0.1365, allocations: 483.8 kB / 468.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.1365, allocations: 29.38 kB / 468.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/0.1366, allocations: 52.12 kB / 468.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009106/0.1376, allocations: 0.6918 MB / 469.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.1376, allocations: 3.938 kB / 469.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.1376, allocations: 16 kB / 469.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001013/0.1377, allocations: 36.98 kB / 469.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007825/0.1385, allocations: 0.5267 MB / 470.1 MB, free: 11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003432/0.142, allocations: 3.106 MB / 473.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005608/0.1426, allocations: 325.2 kB / 473.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002425/0.1428, allocations: 173.7 kB / 473.7 MB, free: 7.227 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.1429, allocations: 4.5 kB / 473.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.1429, allocations: 34.56 kB / 473.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.1429, allocations: 0 / 473.8 MB, free: 7.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001871/0.1448, allocations: 1.223 MB / 475 MB, free: 5.902 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/0.1448, allocations: 77.11 kB / 475.1 MB, free: 5.809 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003727/0.1452, allocations: 397.4 kB / 475.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.772e-05/0.1453, allocations: 29.7 kB / 475.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1455, allocations: 303.2 kB / 475.8 MB, free: 5.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.823e-05/0.1455, allocations: 110.4 kB / 475.9 MB, free: 4.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.1457, allocations: 110.3 kB / 476 MB, free: 4.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1458, allocations: 354.7 kB / 476.3 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.1461, allocations: 193 kB / 476.5 MB, free: 4.312 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003918/0.1465, allocations: 381.5 kB / 476.9 MB, free: 3.852 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007089/0.1473, allocations: 0.5972 MB / 477.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.1473, allocations: 4 kB / 477.5 MB, free: 3.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00176/0.149, allocations: 0.8417 MB / 478.3 MB, free: 2.309 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.1491, allocations: 10.03 kB / 478.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.1491, allocations: 4 kB / 478.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.1503, allocations: 261.4 kB / 478.6 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005953/0.1509, allocations: 139.8 kB / 478.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004487/0.1554, allocations: 3.748 MB / 482.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003514/0.1558, allocations: 28.05 kB / 482.5 MB, free: 13.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.1558, allocations: 27.98 kB / 482.6 MB, free: 13.82 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,4)} Notification: Performance of prepare postOptimizeDAE: time 0.000268/0.1561, allocations: 225.5 kB / 482.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.099e-05/0.1562, allocations: 43.47 kB / 482.8 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007317/0.1569, allocations: 492.9 kB / 483.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.1569, allocations: 8 kB / 483.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.157, allocations: 0 / 483.3 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.099e-05/0.157, allocations: 3.984 kB / 483.3 MB, free: 13.04 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.1583, allocations: 1.011 MB / 484.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1583, allocations: 0 / 484.3 MB, free: 11.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004297/0.1587, allocations: 83.89 kB / 484.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.1587, allocations: 8.062 kB / 484.4 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.258e-05/0.1588, allocations: 11.98 kB / 484.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.265e-06/0.1588, allocations: 0 / 484.4 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.1588, allocations: 4 kB / 484.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008961/0.1597, allocations: 0.7543 MB / 485.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.377e-05/0.1598, allocations: 116.7 kB / 485.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.1598, allocations: 12.16 kB / 485.3 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1601, allocations: 19.97 kB / 485.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.677e-05/0.1602, allocations: 31.91 kB / 485.4 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.542e-05/0.1602, allocations: 8 kB / 485.4 MB, free: 10.88 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002702/0.1605, allocations: 271.1 kB / 485.6 MB, free: 10.62 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1605, allocations: 4 kB / 485.6 MB, free: 10.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005/0.161, allocations: 116 kB / 485.7 MB, free: 10.5 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * 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 (38): * Single equations (assignments): 37 * 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.0001218/0.1611, allocations: 111.2 kB / 485.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001339/0.1625, allocations: 0.7872 MB / 486.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/0.1625, allocations: 0 / 486.6 MB, free: 9.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002599/0.1627, allocations: 207.6 kB / 486.8 MB, free: 9.367 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000531/0.1633, allocations: 86.16 kB / 486.9 MB, free: 9.281 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/0.1664, allocations: 1.703 MB / 488.6 MB, free: 7.535 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.1669, allocations: 0.8939 MB / 489.5 MB, free: 6.617 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.167, allocations: 47.42 kB / 489.6 MB, free: 6.57 MB / 366.1 MB Notification: Performance of SimCode: time 4.61e-07/0.167, allocations: 0 / 489.6 MB, free: 6.57 MB / 366.1 MB Notification: Performance of Templates: time 0.00963/0.1766, allocations: 7.88 MB / 497.5 MB, free: 14.7 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Load.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.Elementary.LoadCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.LoadCalcHelperMain.o] Error 1