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.0008285/0.0008286, allocations: 92.84 kB / 16.95 MB, free: 5.953 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.0008356/0.0008356, allocations: 175.2 kB / 17.84 MB, free: 5.621 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.33/1.33, allocations: 223.2 MB / 241.9 MB, free: 320 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1702/0.1702, allocations: 38.09 MB / 331.1 MB, free: 8.887 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003406, allocations: 8 kB / 400.7 MB, free: 34.53 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 59.18 MB / 459.9 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.00809/0.1317, allocations: 6.707 MB / 466.6 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.004932/0.1366, allocations: 2.603 MB / 469.2 MB, free: 14.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00122/0.1379, allocations: 39.75 kB / 469.2 MB, free: 14.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009482/0.1389, allocations: 174.7 kB / 469.4 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002493/0.1414, allocations: 0.6029 MB / 470 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001471/0.1429, allocations: 431.3 kB / 470.4 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002587/0.1455, allocations: 2.015 MB / 472.4 MB, free: 10.83 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001837/0.1473, allocations: 0.828 MB / 473.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/0.1487, allocations: 0.6307 MB / 473.9 MB, free: 9.332 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001786/0.1505, allocations: 0.9235 MB / 474.8 MB, free: 8.406 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004502/0.151, allocations: 68 kB / 474.9 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001421/0.1524, allocations: 0.5577 MB / 475.4 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009977/0.1535, allocations: 0.5612 MB / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.1541, allocations: 221.1 kB / 476.2 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002188/0.1563, allocations: 1.535 MB / 477.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.271e-06/0.1563, allocations: 0 / 477.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.265e-06/0.1563, allocations: 0 / 477.8 MB, free: 5.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.266e-05/0.1564, allocations: 0 / 477.8 MB, free: 5.457 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.00549/0.1619, allocations: 1.725 MB / 479.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.1619, allocations: 8.031 kB / 479.5 MB, free: 3.645 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.1632, allocations: 158.6 kB / 479.6 MB, free: 3.488 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002577/0.1658, allocations: 0.9312 MB / 480.6 MB, free: 2.512 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007896/0.1666, allocations: 0.514 MB / 481.1 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005208/0.1671, allocations: 103.9 kB / 481.2 MB, free: 1.824 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005013/0.1721, allocations: 2.112 MB / 483.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.4e-05/0.1722, allocations: 0 / 483.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.1723, allocations: 35.98 kB / 483.3 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002195/0.1726, allocations: 93.94 kB / 483.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004994/0.1776, allocations: 2.408 MB / 485.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009439/0.187, allocations: 5.773 MB / 491.6 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004465/0.1916, allocations: 1.933 MB / 493.5 MB, free: 5.281 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002493/0.1941, allocations: 1.246 MB / 494.8 MB, free: 4.027 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.699e-05/0.1942, allocations: 16.98 kB / 494.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002833/0.197, allocations: 1.485 MB / 496.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of pre-optimization done (n=123): time 3.476e-06/0.1971, allocations: 0 / 496.3 MB, free: 2.508 MB / 366.1 MB Notification: Performance of matching and sorting (n=124): time 0.0131/0.2102, allocations: 6.091 MB / 0.4906 GB, free: 12.36 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.522e-05/0.2103, allocations: 114 kB / 0.4907 GB, free: 12.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006206/0.2109, allocations: 493.9 kB / 0.4912 GB, free: 11.73 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.211, allocations: 61.69 kB / 0.4912 GB, free: 11.67 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003163/0.2114, allocations: 356.8 kB / 0.4916 GB, free: 11.31 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004203/0.2118, allocations: 422 kB / 0.492 GB, free: 10.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.718e-05/0.2119, allocations: 24 kB / 0.492 GB, free: 10.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.2121, allocations: 394.5 kB / 0.4924 GB, free: 10.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002033/0.2141, allocations: 1.076 MB / 0.4934 GB, free: 9.402 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00209/0.2162, allocations: 1.235 MB / 0.4946 GB, free: 8.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002153/0.2184, allocations: 1.12 MB / 0.4957 GB, free: 7.004 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/0.2184, allocations: 0 / 0.4957 GB, free: 7.004 MB / 382.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01043/0.2289, allocations: 4.372 MB / 0.5 GB, free: 2.613 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001004/0.229, allocations: 61.67 kB / 0.5001 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.229, allocations: 4 kB / 0.5001 GB, free: 2.543 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005551/0.2346, allocations: 2.219 MB / 0.5022 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009398/0.2356, allocations: 195.6 kB / 0.5024 GB, free: 132 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2496/0.4852, allocations: 11.63 MB / 0.5138 GB, free: 53.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.4866, allocations: 205.4 kB / 0.514 GB, free: 53.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/0.4867, allocations: 76.08 kB / 0.514 GB, free: 53.39 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 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 7 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0006541/0.4874, allocations: 383.9 kB / 0.5144 GB, free: 53.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001914/0.4876, allocations: 84.23 kB / 0.5145 GB, free: 53.18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/0.4927, allocations: 2.548 MB / 0.517 GB, free: 52.41 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/0.4928, allocations: 27.47 kB / 0.517 GB, free: 52.41 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.4928, allocations: 0 / 0.517 GB, free: 52.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/0.4928, allocations: 8.016 kB / 0.517 GB, free: 52.41 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00685/0.4997, allocations: 4.301 MB / 0.5212 GB, free: 50.47 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.227e-06/0.4997, allocations: 7.938 kB / 0.5212 GB, free: 50.47 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009312/0.509, allocations: 2.852 MB / 0.524 GB, free: 49.28 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.2e-05/0.5091, allocations: 8 kB / 0.524 GB, free: 49.27 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002115/0.5093, allocations: 35.97 kB / 0.5241 GB, free: 49.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.315e-06/0.5093, allocations: 15.22 kB / 0.5241 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.5093, allocations: 4 kB / 0.5241 GB, free: 49.22 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006564/0.5159, allocations: 4.143 MB / 0.5281 GB, free: 45.07 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000498/0.5164, allocations: 347.3 kB / 0.5284 GB, free: 44.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002054/0.5166, allocations: 86.77 kB / 0.5285 GB, free: 44.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.5177, allocations: 239.7 kB / 0.5288 GB, free: 44.41 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003159/0.5181, allocations: 193.4 kB / 0.5289 GB, free: 44.22 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.271e-05/0.5182, allocations: 43.97 kB / 0.529 GB, free: 44.18 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002984/0.5185, allocations: 338.8 kB / 0.5293 GB, free: 43.85 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.5185, allocations: 3.062 kB / 0.5293 GB, free: 43.85 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009826/0.5195, allocations: 355.8 kB / 0.5297 GB, free: 43.5 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 (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.0002794/0.5198, allocations: 209.2 kB / 0.5299 GB, free: 43.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005328/0.5251, allocations: 3.827 MB / 0.5336 GB, free: 39.37 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.5251, allocations: 3.938 kB / 0.5336 GB, free: 39.37 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004755/0.5299, allocations: 2.237 MB / 0.5358 GB, free: 37.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001045/0.5309, allocations: 167.5 kB / 0.5359 GB, free: 36.96 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005718/0.5367, allocations: 3.94 MB / 0.5398 GB, free: 33 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004649/0.5372, allocations: 1.14 MB / 0.5409 GB, free: 31.83 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004835/0.5376, allocations: 79.41 kB / 0.541 GB, free: 31.75 MB / 382.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5377, allocations: 0 / 0.541 GB, free: 31.75 MB / 382.1 MB Notification: Performance of Templates: time 0.02064/0.5583, allocations: 20.77 MB / 0.5613 GB, free: 11.03 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++ 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.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