Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009482/0.0009483, allocations: 110.3 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.0008539/0.0008539, 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 3.2.3+maint.om/package.mo): time 1.168/1.168, allocations: 205.1 MB / 223.9 MB, free: 12.49 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1556/0.1556, allocations: 38 MB / 309.3 MB, free: 6.25 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.001162/0.001162, allocations: 59.61 kB / 375.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1881, allocations: 55.25 MB / 430.5 MB, free: 20.06 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.005392/0.1935, allocations: 7.006 MB / 437.5 MB, free: 13.02 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00202/0.1956, allocations: 1.926 MB / 439.4 MB, free: 11.09 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.1959, allocations: 47.69 kB / 439.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003614/0.1962, allocations: 115.2 kB / 439.6 MB, free: 10.93 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004578/0.1967, allocations: 334.5 kB / 439.9 MB, free: 10.6 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.1971, allocations: 283.7 kB / 440.2 MB, free: 10.32 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008103/0.1979, allocations: 1.66 MB / 441.9 MB, free: 8.656 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002758/0.1982, allocations: 306.9 kB / 442.2 MB, free: 8.355 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004002/0.1986, allocations: 470.1 kB / 442.6 MB, free: 7.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000463/0.199, allocations: 0.5491 MB / 443.2 MB, free: 7.344 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.599e-05/0.1991, allocations: 48 kB / 443.2 MB, free: 7.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.1993, allocations: 48 kB / 443.3 MB, free: 7.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.1995, allocations: 299.3 kB / 443.6 MB, free: 6.957 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002678/0.1997, allocations: 382.2 kB / 443.9 MB, free: 6.582 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004242/0.2002, allocations: 0.8225 MB / 444.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2002, allocations: 0 / 444.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.81e-07/0.2002, allocations: 0 / 444.8 MB, free: 5.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.155e-06/0.2002, allocations: 4 kB / 444.8 MB, free: 5.754 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001928/0.2021, allocations: 1.192 MB / 445.9 MB, free: 4.5 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.2022, allocations: 19.92 kB / 446 MB, free: 4.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001259/0.2023, allocations: 80.09 kB / 446 MB, free: 4.402 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008734/0.2032, allocations: 0.6239 MB / 446.7 MB, free: 3.734 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/0.2035, allocations: 335.4 kB / 447 MB, free: 3.359 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.362e-05/0.2036, allocations: 67.84 kB / 447.1 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.2052, allocations: 1.046 MB / 448.1 MB, free: 2.215 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.2052, allocations: 3.938 kB / 448.1 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.2053, allocations: 20 kB / 448.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-06/0.2053, allocations: 16 kB / 448.1 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002009/0.2073, allocations: 1.097 MB / 449.2 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003885/0.2112, allocations: 3.209 MB / 452.5 MB, free: 13.77 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001851/0.2131, allocations: 0.7489 MB / 453.2 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.2143, allocations: 0.5254 MB / 453.7 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.727e-05/0.2144, allocations: 16.42 kB / 453.7 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.2157, allocations: 0.6225 MB / 454.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 1.983e-06/0.2157, allocations: 0 / 454.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.003359/0.2191, allocations: 1.374 MB / 455.7 MB, free: 10.43 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.408e-05/0.2192, allocations: 140.5 kB / 455.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003527/0.2195, allocations: 393.8 kB / 456.3 MB, free: 9.863 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.161e-05/0.2196, allocations: 37.7 kB / 456.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001784/0.2198, allocations: 296.3 kB / 456.6 MB, free: 9.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/0.2199, allocations: 157.7 kB / 456.7 MB, free: 9.367 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001856/0.2201, allocations: 118.1 kB / 456.9 MB, free: 9.242 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.2202, allocations: 362.8 kB / 457.2 MB, free: 8.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009051/0.2211, allocations: 456.9 kB / 457.7 MB, free: 8.43 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000929/0.2221, allocations: 0.5561 MB / 458.2 MB, free: 7.84 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001687/0.2238, allocations: 0.8818 MB / 459.1 MB, free: 6.914 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.2238, allocations: 3.938 kB / 459.1 MB, free: 6.91 MB / 334.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002022/0.2258, allocations: 1.089 MB / 460.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.633e-05/0.2259, allocations: 53.62 kB / 460.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.2259, allocations: 7.938 kB / 460.2 MB, free: 5.738 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2259, allocations: 8.219 kB / 460.3 MB, free: 5.73 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004866/0.2308, allocations: 1.104 MB / 461.4 MB, free: 4.625 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/0.2371, allocations: 4.375 MB / 465.7 MB, free: 15.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005709/0.2377, allocations: 115.3 kB / 465.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-05/0.2378, allocations: 44.03 kB / 465.9 MB, free: 15.83 MB / 350.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: 14 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,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) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003311/0.2382, allocations: 243.3 kB / 466.1 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.13e-05/0.2382, allocations: 51.42 kB / 466.2 MB, free: 15.53 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00233/0.2406, allocations: 0.9849 MB / 467.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.2406, allocations: 8 kB / 467.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.804e-06/0.2406, allocations: 0 / 467.2 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.2406, allocations: 7.922 kB / 467.2 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003519/0.2441, allocations: 2.133 MB / 469.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.2442, allocations: 0 / 469.3 MB, free: 12.3 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005876/0.25, allocations: 1.283 MB / 470.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.2501, allocations: 4 kB / 470.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.116e-05/0.2501, allocations: 19.98 kB / 470.6 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.2501, allocations: 4 kB / 470.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.2501, allocations: 0 / 470.6 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/0.2536, allocations: 1.695 MB / 472.3 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002399/0.2539, allocations: 204.4 kB / 472.5 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.254, allocations: 27.98 kB / 472.5 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/0.2546, allocations: 91.88 kB / 472.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.2548, allocations: 91.84 kB / 472.7 MB, free: 8.84 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.2549, allocations: 19.98 kB / 472.7 MB, free: 8.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002423/0.2551, allocations: 263.2 kB / 473 MB, free: 8.566 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2551, allocations: 8 kB / 473 MB, free: 8.559 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005338/0.2557, allocations: 179.5 kB / 473.2 MB, free: 8.383 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001458/0.2558, allocations: 131.2 kB / 473.3 MB, free: 8.246 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006395/0.2622, allocations: 2.078 MB / 475.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.2622, allocations: 0 / 475.4 MB, free: 6.148 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002963/0.2652, allocations: 0.9367 MB / 476.3 MB, free: 5.211 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007189/0.2659, allocations: 133.4 kB / 476.5 MB, free: 5.082 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003302/0.2693, allocations: 1.87 MB / 478.3 MB, free: 3.16 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004628/0.2697, allocations: 0.9332 MB / 479.3 MB, free: 2.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002276/0.27, allocations: 47.44 kB / 479.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.27, allocations: 0 / 479.3 MB, free: 2.156 MB / 350.1 MB Notification: Performance of Templates: time 0.01219/0.2822, allocations: 11.39 MB / 490.7 MB, free: 6.766 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.o] Error 1