Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i.1.|meterAC.i.2.|meterAC.i.3.|meterAC.p.1.|meterAC.p.2.|meterAC.p.3.|meterAC.v.1.|meterAC.v.2.|meterAC.v.3.|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009882/0.0009883, allocations: 106.2 kB / 17.16 MB, free: 6.348 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.001031/0.001031, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.331/1.331, allocations: 222.9 MB / 241.7 MB, free: 15.53 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.169/0.169, allocations: 38.03 MB / 329.9 MB, free: 9.109 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001714, allocations: 54.05 kB / 398.7 MB, free: 34.56 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1121, allocations: 58.06 MB / 456.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.008905/0.1211, allocations: 7.53 MB / 464.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005998/0.1271, allocations: 2.789 MB / 467.1 MB, free: 14.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.1283, allocations: 47.69 kB / 467.2 MB, free: 14.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.1296, allocations: 390.4 kB / 467.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001378/0.131, allocations: 0.5526 MB / 468.1 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001091/0.1321, allocations: 447.4 kB / 468.5 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002153/0.1343, allocations: 2.444 MB / 471 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009296/0.1352, allocations: 0.7132 MB / 471.7 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000817/0.1361, allocations: 0.6579 MB / 472.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.1373, allocations: 0.9584 MB / 473.3 MB, free: 7.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001884/0.1375, allocations: 84 kB / 473.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001013/0.1385, allocations: 0.6201 MB / 474 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005946/0.1391, allocations: 0.569 MB / 474.6 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006521/0.1398, allocations: 0.6105 MB / 475.2 MB, free: 6.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.1412, allocations: 1.563 MB / 476.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.1412, allocations: 0 / 476.7 MB, free: 4.52 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1412, allocations: 4 kB / 476.8 MB, free: 4.516 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1412, allocations: 0 / 476.8 MB, free: 4.516 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004656/0.1459, allocations: 1.908 MB / 478.7 MB, free: 2.527 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.1459, allocations: 12.03 kB / 478.7 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007161/0.1467, allocations: 163.5 kB / 478.8 MB, free: 2.355 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002007/0.1487, allocations: 0.9284 MB / 479.8 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006005/0.1493, allocations: 0.4989 MB / 480.3 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002508/0.1496, allocations: 107.8 kB / 480.4 MB, free: 0.707 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003873/0.1534, allocations: 2.015 MB / 482.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.615e-05/0.1535, allocations: 0 / 482.4 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.1536, allocations: 40 kB / 482.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002632/0.1539, allocations: 97.86 kB / 482.5 MB, free: 14.52 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004658/0.1586, allocations: 2.24 MB / 484.8 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00942/0.168, allocations: 5.679 MB / 490.4 MB, free: 6.484 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004463/0.1725, allocations: 1.793 MB / 492.2 MB, free: 4.652 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002425/0.175, allocations: 1.148 MB / 493.4 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.653e-05/0.1751, allocations: 12.98 kB / 493.4 MB, free: 3.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002766/0.1778, allocations: 1.387 MB / 494.8 MB, free: 2.082 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.327e-06/0.1779, allocations: 4 kB / 494.8 MB, free: 2.078 MB / 366.1 MB Notification: Performance of matching and sorting (n=124): time 0.01284/0.1907, allocations: 5.618 MB / 0.4887 GB, free: 12.4 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.795e-05/0.1909, allocations: 106.1 kB / 0.4888 GB, free: 12.28 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006678/0.1915, allocations: 0.4901 MB / 0.4892 GB, free: 11.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000114/0.1917, allocations: 57.69 kB / 0.4893 GB, free: 11.71 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003105/0.192, allocations: 360.7 kB / 0.4896 GB, free: 11.36 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003898/0.1924, allocations: 422 kB / 0.49 GB, free: 10.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004288/0.1928, allocations: 226.8 kB / 0.4903 GB, free: 10.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002438/0.1931, allocations: 394.8 kB / 0.4906 GB, free: 10.31 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001902/0.195, allocations: 1.029 MB / 0.4916 GB, free: 9.285 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002009/0.197, allocations: 1.174 MB / 0.4928 GB, free: 8.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00365/0.2007, allocations: 2.039 MB / 0.4948 GB, free: 5.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.2007, allocations: 4 kB / 0.4948 GB, free: 5.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01035/0.211, allocations: 3.899 MB / 0.4986 GB, free: 2.07 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.2112, allocations: 61.67 kB / 0.4987 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/0.2112, allocations: 0 / 0.4987 GB, free: 2.004 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2531/0.4643, allocations: 2.073 MB / 0.5007 GB, free: 57.44 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001154/0.4655, allocations: 190.2 kB / 0.5009 GB, free: 57.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02523/0.4908, allocations: 10.45 MB / 0.5111 GB, free: 54.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.4923, allocations: 170.1 kB / 0.5112 GB, free: 54.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.4925, allocations: 77.45 kB / 0.5113 GB, free: 54.09 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.0006916/0.4932, allocations: 373.2 kB / 0.5117 GB, free: 53.87 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002334/0.4934, allocations: 88.94 kB / 0.5117 GB, free: 53.87 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006349/0.4998, allocations: 2.347 MB / 0.514 GB, free: 53.15 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-05/0.4999, allocations: 30.72 kB / 0.5141 GB, free: 53.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.4999, allocations: 5.375 kB / 0.5141 GB, free: 53.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.413e-05/0.4999, allocations: 7.641 kB / 0.5141 GB, free: 53.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008525/0.5084, allocations: 4.105 MB / 0.5181 GB, free: 51.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.5085, allocations: 3.031 kB / 0.5181 GB, free: 51.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009912/0.5184, allocations: 2.024 MB / 0.5201 GB, free: 50.64 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-05/0.5185, allocations: 6.875 kB / 0.5201 GB, free: 50.64 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002605/0.5187, allocations: 30.97 kB / 0.5201 GB, free: 50.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.695e-05/0.5188, allocations: 13.02 kB / 0.5201 GB, free: 50.62 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5188, allocations: 2.75 kB / 0.5201 GB, free: 50.62 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007246/0.526, allocations: 3.86 MB / 0.5239 GB, free: 48.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005939/0.5267, allocations: 348.4 kB / 0.5242 GB, free: 48.4 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.5269, allocations: 86.72 kB / 0.5243 GB, free: 48.35 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/0.5281, allocations: 185.6 kB / 0.5245 GB, free: 48.27 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/0.5285, allocations: 200.1 kB / 0.5247 GB, free: 48.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/0.5287, allocations: 39.97 kB / 0.5247 GB, free: 48.04 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003983/0.5291, allocations: 350.8 kB / 0.525 GB, free: 47.69 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.5291, allocations: 0 / 0.525 GB, free: 47.69 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001172/0.5303, allocations: 357.3 kB / 0.5254 GB, free: 47.35 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0003629/0.5306, allocations: 213.8 kB / 0.5256 GB, free: 47.14 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005602/0.5362, allocations: 2.975 MB / 0.5285 GB, free: 44.14 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5363, allocations: 0 / 0.5285 GB, free: 44.14 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00479/0.5411, allocations: 1.891 MB / 0.5303 GB, free: 42.24 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.5421, allocations: 169.7 kB / 0.5305 GB, free: 42.08 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006413/0.5486, allocations: 3.828 MB / 0.5342 GB, free: 38.26 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005456/0.5491, allocations: 1.138 MB / 0.5354 GB, free: 37.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004841/0.5496, allocations: 83.41 kB / 0.5354 GB, free: 37.01 MB / 382.1 MB Notification: Performance of SimCode: time 6.71e-07/0.5496, allocations: 0 / 0.5354 GB, free: 37.01 MB / 382.1 MB Notification: Performance of Templates: time 0.01952/0.5692, allocations: 19.02 MB / 0.554 GB, free: 18.05 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.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.Inverters.InverterToLoadCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.o] Error 1