Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|zr_d.1.|zr_d.2.|zr_d.3.|zr_d.4.|zr_q.1.|zr_q.2.|zr_q.3.|zr_q.4.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00102/0.00102, allocations: 109.7 kB / 17.16 MB, free: 6.324 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.0009777/0.0009778, allocations: 202.9 kB / 18.08 MB, free: 5.422 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.322/1.322, allocations: 222.9 MB / 241.7 MB, free: 15.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.1705/0.1705, allocations: 38.05 MB / 329.9 MB, free: 9.012 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001057/0.001057, allocations: 63.84 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1112, allocations: 58.06 MB / 456.8 MB, free: 8.547 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3): time 0.003451/0.1147, allocations: 2.089 MB / 458.9 MB, free: 6.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007571/0.1155, allocations: 0.5299 MB / 459.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.309e-05/0.1155, allocations: 0 / 459.4 MB, free: 5.902 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001947/0.1157, allocations: 11.92 kB / 459.4 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.058e-05/0.1158, allocations: 27.91 kB / 459.5 MB, free: 5.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002648/0.1161, allocations: 55.84 kB / 459.5 MB, free: 5.809 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001171/0.1162, allocations: 119.6 kB / 459.6 MB, free: 5.691 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.1163, allocations: 4 kB / 459.6 MB, free: 5.688 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.805e-05/0.1163, allocations: 19.92 kB / 459.6 MB, free: 5.668 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.394e-05/0.1164, allocations: 39.83 kB / 459.7 MB, free: 5.629 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.1164, allocations: 4 kB / 459.7 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.1166, allocations: 75.84 kB / 459.8 MB, free: 5.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.1166, allocations: 39.84 kB / 459.8 MB, free: 5.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.365e-05/0.1167, allocations: 47.55 kB / 459.9 MB, free: 5.465 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001531/0.1168, allocations: 108.1 kB / 460 MB, free: 5.359 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.1169, allocations: 0 / 460 MB, free: 5.359 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.42e-07/0.1169, allocations: 0 / 460 MB, free: 5.359 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.1169, allocations: 3.938 kB / 460 MB, free: 5.355 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.000471/0.1173, allocations: 484.5 kB / 460.4 MB, free: 4.828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.1174, allocations: 8.031 kB / 460.4 MB, free: 4.82 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.094e-05/0.1174, allocations: 20.75 kB / 460.5 MB, free: 4.801 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001875/0.1176, allocations: 206.3 kB / 460.7 MB, free: 4.562 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.826e-06/0.1176, allocations: 7.938 kB / 460.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1177, allocations: 0 / 460.7 MB, free: 4.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.1178, allocations: 130.6 kB / 460.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1179, allocations: 0 / 460.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.445e-06/0.1179, allocations: 0 / 460.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.1179, allocations: 0 / 460.8 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.9e-05/0.118, allocations: 92.23 kB / 460.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001702/0.1182, allocations: 206 kB / 461.1 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.1183, allocations: 154.9 kB / 461.2 MB, free: 3.922 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1184, allocations: 141.2 kB / 461.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.963e-06/0.1184, allocations: 0 / 461.4 MB, free: 3.781 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1185, allocations: 30.56 kB / 461.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 7.12e-07/0.1185, allocations: 0 / 461.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.0005463/0.119, allocations: 475.6 kB / 461.9 MB, free: 3.266 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.504e-05/0.1191, allocations: 117.1 kB / 462 MB, free: 3.133 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1192, allocations: 141.6 kB / 462.1 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.1193, allocations: 29.7 kB / 462.2 MB, free: 2.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.97e-05/0.1193, allocations: 100.8 kB / 462.3 MB, free: 2.84 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.197e-05/0.1194, allocations: 129.9 kB / 462.4 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.326e-05/0.1195, allocations: 33.7 kB / 462.4 MB, free: 2.672 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1196, allocations: 338.8 kB / 462.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.333e-05/0.1197, allocations: 91.97 kB / 462.8 MB, free: 2.242 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.1198, allocations: 92.95 kB / 462.9 MB, free: 2.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002833/0.1201, allocations: 364.4 kB / 463.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.1201, allocations: 0 / 463.3 MB, free: 1.781 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0002978/0.1204, allocations: 326.9 kB / 463.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.902e-05/0.1205, allocations: 89.62 kB / 463.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1205, allocations: 0 / 463.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.1205, allocations: 0 / 463.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.1205, allocations: 0 / 463.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1205, allocations: 0 / 463.7 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.1206, allocations: 19.75 kB / 463.7 MB, free: 1.336 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.789e-05/0.1206, allocations: 12.06 kB / 463.7 MB, free: 1.324 MB / 334.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.0001944/0.1208, allocations: 239.3 kB / 464 MB, free: 1.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.105e-05/0.1208, allocations: 23.81 kB / 464 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.314e-05/0.1209, allocations: 5.969 kB / 464 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1209, allocations: 0 / 464 MB, free: 1.047 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.1209, allocations: 7.938 kB / 464 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.1209, allocations: 0 / 464 MB, free: 1.039 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.1211, allocations: 233.2 kB / 464.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1211, allocations: 0 / 464.2 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-06/0.1211, allocations: 7.984 kB / 464.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.1211, allocations: 0 / 464.2 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.844e-05/0.1211, allocations: 12 kB / 464.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.1211, allocations: 0 / 464.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.1211, allocations: 0 / 464.2 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008799/0.122, allocations: 0.9005 MB / 465.1 MB, free: 15.81 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.1221, allocations: 100.7 kB / 465.2 MB, free: 15.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.1221, allocations: 8 kB / 465.2 MB, free: 15.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.232e-05/0.1221, allocations: 8.031 kB / 465.3 MB, free: 15.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.194e-05/0.1222, allocations: 8 kB / 465.3 MB, free: 15.67 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.1222, allocations: 8 kB / 465.3 MB, free: 15.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.57e-05/0.1223, allocations: 115.2 kB / 465.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.1223, allocations: 0 / 465.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002635/0.1226, allocations: 60 kB / 465.4 MB, free: 15.49 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.0002092/0.1228, allocations: 115.2 kB / 465.6 MB, free: 15.37 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001358/0.1241, allocations: 1.585 MB / 467.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1242, allocations: 4.062 kB / 467.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.1252, allocations: 1.366 MB / 468.5 MB, free: 12.39 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.1255, allocations: 23.94 kB / 468.5 MB, free: 12.37 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009471/0.1264, allocations: 0.715 MB / 469.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/0.1268, allocations: 0.752 MB / 470 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.1268, allocations: 11.44 kB / 470 MB, free: 10.83 MB / 350.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1269, allocations: 0 / 470 MB, free: 10.83 MB / 350.1 MB Notification: Performance of Templates: time 0.003909/0.1308, allocations: 2.308 MB / 472.3 MB, free: 8.527 MB / 350.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3.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.Z_matrixEqCirc3CalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc3CalcHelperMain.o] Error 1