Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.0009269/0.0009269, allocations: 109.4 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.0008788/0.0008788, 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 3.2.3+maint.om/package.mo): time 1.199/1.199, allocations: 205.1 MB / 223.9 MB, free: 12.48 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1567/0.1567, allocations: 37.99 MB / 309.3 MB, free: 6.234 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 67.03 kB / 375.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1812, allocations: 55.25 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.006105/0.1874, allocations: 7.516 MB / 438 MB, free: 12.25 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003443/0.1908, allocations: 2.825 MB / 440.9 MB, free: 9.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006597/0.1915, allocations: 47.69 kB / 440.9 MB, free: 9.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.1925, allocations: 406.3 kB / 441.3 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001027/0.1936, allocations: 0.5448 MB / 441.8 MB, free: 8.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007734/0.1943, allocations: 439.4 kB / 442.3 MB, free: 7.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.1957, allocations: 2.448 MB / 444.7 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000618/0.1963, allocations: 0.721 MB / 445.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004992/0.1969, allocations: 0.6618 MB / 446.1 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007387/0.1976, allocations: 0.9584 MB / 447.1 MB, free: 3.18 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001525/0.1978, allocations: 80 kB / 447.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007349/0.1985, allocations: 0.6278 MB / 447.8 MB, free: 2.473 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003519/0.1989, allocations: 0.569 MB / 448.3 MB, free: 1.902 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004222/0.1993, allocations: 0.5989 MB / 448.9 MB, free: 1.301 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000849/0.2002, allocations: 1.567 MB / 450.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.2002, allocations: 0 / 450.5 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.2002, allocations: 8 kB / 450.5 MB, free: 15.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.897e-06/0.2002, allocations: 0 / 450.5 MB, free: 15.72 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003982/0.2042, allocations: 1.908 MB / 452.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2042, allocations: 12.02 kB / 452.4 MB, free: 13.72 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006344/0.2049, allocations: 159.6 kB / 452.6 MB, free: 13.57 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001814/0.2067, allocations: 0.9244 MB / 453.5 MB, free: 12.6 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005295/0.2072, allocations: 0.5028 MB / 454 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.2075, allocations: 99.92 kB / 454.1 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.2109, allocations: 2.019 MB / 456.1 MB, free: 9.863 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/0.211, allocations: 4 kB / 456.1 MB, free: 9.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001232/0.2111, allocations: 32 kB / 456.2 MB, free: 9.828 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.2113, allocations: 89.94 kB / 456.3 MB, free: 9.742 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004246/0.2155, allocations: 2.244 MB / 458.5 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007989/0.2235, allocations: 5.687 MB / 464.2 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004096/0.2277, allocations: 1.804 MB / 466 MB, free: 15.86 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002216/0.2299, allocations: 1.148 MB / 467.1 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.486e-05/0.23, allocations: 9 kB / 467.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002523/0.2325, allocations: 1.387 MB / 468.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=123): time 2.665e-06/0.2325, allocations: 4 kB / 468.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=124): time 0.01144/0.244, allocations: 5.622 MB / 474.2 MB, free: 7.613 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.244, allocations: 114 kB / 474.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004853/0.2445, allocations: 493.9 kB / 474.8 MB, free: 6.984 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.664e-05/0.2446, allocations: 57.69 kB / 474.8 MB, free: 6.922 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.2449, allocations: 360.7 kB / 475.2 MB, free: 6.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002988/0.2452, allocations: 422 kB / 475.6 MB, free: 6.145 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003753/0.2456, allocations: 234.8 kB / 475.8 MB, free: 5.91 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.2457, allocations: 390.7 kB / 476.2 MB, free: 5.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001738/0.2475, allocations: 1.029 MB / 477.2 MB, free: 4.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.2493, allocations: 1.172 MB / 478.4 MB, free: 3.281 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003309/0.2526, allocations: 2.043 MB / 480.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2526, allocations: 0 / 480.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.009514/0.2622, allocations: 3.903 MB / 484.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.007e-05/0.2623, allocations: 53.69 kB / 484.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.2623, allocations: 7.984 kB / 484.4 MB, free: 13.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005353/0.2676, allocations: 2.065 MB / 486.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008512/0.2685, allocations: 195.7 kB / 486.7 MB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02135/0.2899, allocations: 10.46 MB / 497.1 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001238/0.2911, allocations: 163.8 kB / 497.3 MB, free: 184 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001421/0.2913, allocations: 75.88 kB / 497.3 MB, free: 108 kB / 366.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.0005972/0.2919, allocations: 381.4 kB / 497.7 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001929/0.2921, allocations: 87 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004836/0.2969, allocations: 2.361 MB / 0.4884 GB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.404e-05/0.297, allocations: 31.98 kB / 0.4885 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.297, allocations: 3.938 kB / 0.4885 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.816e-05/0.297, allocations: 3.984 kB / 0.4885 GB, free: 13.23 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007111/0.3041, allocations: 4.094 MB / 0.4925 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.3042, allocations: 7.984 kB / 0.4925 GB, free: 9.039 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009442/0.3136, allocations: 2.021 MB / 0.4945 GB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.519e-05/0.3137, allocations: 8 kB / 0.4945 GB, free: 7.008 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/0.3138, allocations: 35.97 kB / 0.4945 GB, free: 6.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/0.3138, allocations: 7.938 kB / 0.4945 GB, free: 6.965 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.167e-06/0.3139, allocations: 7.938 kB / 0.4945 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00726/0.3211, allocations: 3.861 MB / 0.4983 GB, free: 3.051 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005749/0.3217, allocations: 344 kB / 0.4986 GB, free: 2.695 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002222/0.322, allocations: 91.92 kB / 0.4987 GB, free: 2.605 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/0.3232, allocations: 183.7 kB / 0.4989 GB, free: 2.426 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003928/0.3236, allocations: 196.6 kB / 0.4991 GB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001049/0.3237, allocations: 39.97 kB / 0.4991 GB, free: 2.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003647/0.3241, allocations: 346.8 kB / 0.4994 GB, free: 1.855 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3241, allocations: 0 / 0.4994 GB, free: 1.855 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009789/0.3251, allocations: 355.9 kB / 0.4998 GB, free: 1.508 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.0003639/0.3254, allocations: 220.7 kB / 0.5 GB, free: 1.285 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.005658/0.3311, allocations: 2.967 MB / 0.5029 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3311, allocations: 256 / 0.5029 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005121/0.3362, allocations: 1.895 MB / 0.5047 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009994/0.3373, allocations: 178.5 kB / 0.5049 GB, free: 12.22 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006953/0.3442, allocations: 3.828 MB / 0.5086 GB, free: 8.336 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/0.3449, allocations: 1.144 MB / 0.5098 GB, free: 7.168 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004885/0.3454, allocations: 75.42 kB / 0.5098 GB, free: 7.094 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3454, allocations: 0 / 0.5098 GB, free: 7.094 MB / 398.1 MB Notification: Performance of Templates: time 0.1694/0.5149, allocations: 18.99 MB / 0.5284 GB, free: 83.95 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.o] Error 1