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.0007797/0.0007796, allocations: 93.88 kB / 16.95 MB, free: 6.461 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.0007922/0.0007922, allocations: 180.3 kB / 17.84 MB, free: 6 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.346/1.346, allocations: 223.3 MB / 241.9 MB, free: 14.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1661/0.1661, allocations: 38.1 MB / 331.1 MB, free: 8.613 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 8 kB / 400.7 MB, free: 34.47 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1263, allocations: 59.15 MB / 459.9 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Load): time 0.005319/0.1317, allocations: 4.517 MB / 464.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002768/0.1345, allocations: 1.614 MB / 466 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002447/0.1348, allocations: 31.81 kB / 466 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.135, allocations: 71.45 kB / 466.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008329/0.1359, allocations: 286.5 kB / 466.4 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007506/0.1367, allocations: 251.5 kB / 466.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007704/0.1374, allocations: 0.717 MB / 467.3 MB, free: 15.89 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007731/0.1382, allocations: 472.3 kB / 467.8 MB, free: 15.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003373/0.1386, allocations: 242.9 kB / 468 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005615/0.1391, allocations: 370.9 kB / 468.4 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.1392, allocations: 20 kB / 468.4 MB, free: 14.78 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.1395, allocations: 99.86 kB / 468.5 MB, free: 14.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002202/0.1397, allocations: 227.4 kB / 468.7 MB, free: 14.46 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.1398, allocations: 117.4 kB / 468.9 MB, free: 14.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00048/0.1403, allocations: 490.8 kB / 469.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1403, allocations: 0 / 469.3 MB, free: 13.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.1403, allocations: 4 kB / 469.3 MB, free: 13.85 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.973e-06/0.1403, allocations: 0 / 469.3 MB, free: 13.85 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.001627/0.142, allocations: 0.793 MB / 470.1 MB, free: 13.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.142, allocations: 8.031 kB / 470.1 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004954/0.1425, allocations: 91.28 kB / 470.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008422/0.1434, allocations: 478.7 kB / 470.7 MB, free: 12.4 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.1434, allocations: 33 kB / 470.7 MB, free: 12.37 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001558/0.1436, allocations: 55.89 kB / 470.8 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.1446, allocations: 0.684 MB / 471.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.951e-05/0.1447, allocations: 4 kB / 471.5 MB, free: 11.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.1447, allocations: 16 kB / 471.5 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.1448, allocations: 36.97 kB / 471.5 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007908/0.1456, allocations: 0.5228 MB / 472 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.1491, allocations: 3.098 MB / 475.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005524/0.1497, allocations: 333.2 kB / 475.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.1499, allocations: 174.2 kB / 475.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.894e-05/0.15, allocations: 12 kB / 475.7 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/0.15, allocations: 38.56 kB / 475.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.15, allocations: 0 / 475.7 MB, free: 7.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001893/0.1519, allocations: 1.21 MB / 476.9 MB, free: 5.891 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.152, allocations: 81.11 kB / 477 MB, free: 5.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004033/0.1524, allocations: 393.5 kB / 477.4 MB, free: 5.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.445e-05/0.1525, allocations: 29.7 kB / 477.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.1527, allocations: 303.3 kB / 477.7 MB, free: 5.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/0.1528, allocations: 122.3 kB / 477.8 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.343e-05/0.1528, allocations: 8 kB / 477.8 MB, free: 4.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.153, allocations: 358.7 kB / 478.2 MB, free: 4.578 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002833/0.1532, allocations: 193 kB / 478.4 MB, free: 4.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.1536, allocations: 377.5 kB / 478.7 MB, free: 3.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.154, allocations: 247.8 kB / 479 MB, free: 3.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.154, allocations: 4 kB / 479 MB, free: 3.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001781/0.1558, allocations: 0.8258 MB / 479.8 MB, free: 2.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.1559, allocations: 8 kB / 479.8 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.1559, allocations: 8 kB / 479.8 MB, free: 2.836 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001156/0.157, allocations: 270 kB / 480.1 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005576/0.1576, allocations: 139.8 kB / 480.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004583/0.1622, allocations: 3.75 MB / 484 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.1626, allocations: 23.98 kB / 484 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.1626, allocations: 27.98 kB / 484 MB, free: 14.35 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 (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: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003128/0.1629, allocations: 221.7 kB / 484.2 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.249e-05/0.163, allocations: 39.53 kB / 484.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007961/0.1638, allocations: 488.9 kB / 484.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.688e-06/0.1638, allocations: 7.953 kB / 484.8 MB, free: 13.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.1639, allocations: 8 kB / 484.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1639, allocations: 96 / 484.8 MB, free: 13.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001447/0.1653, allocations: 1.015 MB / 485.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.758e-06/0.1653, allocations: 192 / 485.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004084/0.1658, allocations: 91.88 kB / 485.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-06/0.1658, allocations: 7.953 kB / 485.9 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/0.1658, allocations: 16.05 kB / 485.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.1658, allocations: 4 kB / 485.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1658, allocations: 0 / 485.9 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009666/0.1668, allocations: 0.7351 MB / 486.6 MB, free: 11.62 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.474e-05/0.1669, allocations: 124.6 kB / 486.7 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.537e-05/0.167, allocations: 15.95 kB / 486.8 MB, free: 11.47 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002223/0.1672, allocations: 15.98 kB / 486.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.293e-05/0.1673, allocations: 27.81 kB / 486.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.726e-05/0.1673, allocations: 16 kB / 486.8 MB, free: 11.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002848/0.1676, allocations: 267.1 kB / 487.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.1676, allocations: 0 / 487.1 MB, free: 11.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000562/0.1682, allocations: 120 kB / 487.2 MB, free: 11.04 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 (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.0001571/0.1683, allocations: 111.5 kB / 487.3 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.1697, allocations: 0.7789 MB / 488.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1697, allocations: 0 / 488.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002918/0.17, allocations: 204.5 kB / 488.3 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1706, allocations: 76.48 kB / 488.4 MB, free: 9.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003313/0.1739, allocations: 1.798 MB / 490.2 MB, free: 7.996 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.1745, allocations: 0.8979 MB / 491.1 MB, free: 7.074 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000149/0.1747, allocations: 43.42 kB / 491.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1747, allocations: 0 / 491.1 MB, free: 7.031 MB / 366.1 MB Notification: Performance of Templates: time 0.0109/0.1856, allocations: 7.834 MB / 498.9 MB, free: 15.2 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++ 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.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