Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") translateModel(PowerSystems.Examples.AC3ph.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007711/0.0007711, allocations: 97.08 kB / 16.96 MB, free: 6.41 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.0007763/0.0007764, allocations: 179.7 kB / 17.84 MB, free: 5.969 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.586/1.586, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1701/0.1701, allocations: 38.05 MB / 310.3 MB, free: 6.035 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.0005126/0.0005126, allocations: 23.06 kB / 377.2 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2631, allocations: 56.32 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.006211/0.2693, allocations: 7.467 MB / 440.9 MB, free: 11.34 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003719/0.2731, allocations: 2.409 MB / 443.4 MB, free: 8.918 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005597/0.2737, allocations: 51.62 kB / 443.4 MB, free: 8.867 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003759/0.2741, allocations: 162.8 kB / 443.6 MB, free: 8.707 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001284/0.2754, allocations: 0.6104 MB / 444.2 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008358/0.2762, allocations: 395.3 kB / 444.6 MB, free: 7.707 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.2773, allocations: 1.566 MB / 446.1 MB, free: 6.137 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001181/0.2785, allocations: 0.9044 MB / 447 MB, free: 5.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000695/0.2792, allocations: 0.498 MB / 447.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007637/0.28, allocations: 0.6465 MB / 448.2 MB, free: 4.047 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.522e-05/0.2801, allocations: 40 kB / 448.2 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007334/0.2808, allocations: 479.2 kB / 448.7 MB, free: 3.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000348/0.2812, allocations: 450.9 kB / 449.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001845/0.2814, allocations: 213.2 kB / 449.3 MB, free: 2.883 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007615/0.2821, allocations: 1.153 MB / 450.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.2822, allocations: 0 / 450.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2822, allocations: 0 / 450.5 MB, free: 1.727 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.2822, allocations: 0 / 450.5 MB, free: 1.727 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002241/0.2844, allocations: 1.38 MB / 451.9 MB, free: 276 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2845, allocations: 8.031 kB / 451.9 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006601/0.2851, allocations: 154.5 kB / 452 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.2862, allocations: 0.6737 MB / 452.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.2864, allocations: 175.1 kB / 452.9 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002143/0.2866, allocations: 107.9 kB / 453 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.2891, allocations: 1.548 MB / 454.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.467e-05/0.2891, allocations: 0 / 454.5 MB, free: 13.47 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/0.2893, allocations: 43.98 kB / 454.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.2894, allocations: 65.97 kB / 454.6 MB, free: 13.37 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/0.2915, allocations: 1.186 MB / 455.8 MB, free: 12.18 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005688/0.2972, allocations: 4.805 MB / 460.6 MB, free: 7.223 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002521/0.2997, allocations: 1.204 MB / 461.8 MB, free: 5.984 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.3009, allocations: 0.5891 MB / 462.4 MB, free: 5.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.254e-05/0.301, allocations: 16.5 kB / 462.4 MB, free: 5.371 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001312/0.3023, allocations: 0.7339 MB / 463.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of pre-optimization done (n=80): time 2.896e-06/0.3023, allocations: 0 / 463.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of matching and sorting (n=81): time 0.006507/0.3088, allocations: 3.314 MB / 466.5 MB, free: 1.203 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.591e-05/0.3089, allocations: 115.5 kB / 466.6 MB, free: 1.066 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006816/0.3096, allocations: 0.5887 MB / 467.2 MB, free: 480 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.3097, allocations: 49.7 kB / 467.2 MB, free: 424 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003445/0.31, allocations: 455 kB / 467.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002062/0.3102, allocations: 280.3 kB / 467.9 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.3103, allocations: 16 kB / 468 MB, free: 15.67 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3105, allocations: 390.7 kB / 468.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006413/0.3111, allocations: 470 kB / 468.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008054/0.3119, allocations: 0.7265 MB / 469.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007893/0.3127, allocations: 0.5899 MB / 470.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/0.3128, allocations: 4 kB / 470.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00223/0.315, allocations: 1.549 MB / 471.7 MB, free: 11.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.398e-05/0.3151, allocations: 69.7 kB / 471.7 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001714/0.3168, allocations: 1.298 MB / 473 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003874/0.3172, allocations: 121.6 kB / 473.2 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006834/0.3179, allocations: 199.7 kB / 473.4 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002446/0.3204, allocations: 3.067 MB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/0.321, allocations: 79.83 kB / 476.5 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.3211, allocations: 80.03 kB / 476.6 MB, free: 6.574 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 28 (system.initime,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.ac_dc.modulator.gates[1],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 109 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005805/0.3217, allocations: 377.4 kB / 476.9 MB, free: 6.195 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000137/0.3219, allocations: 75.06 kB / 477 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.3243, allocations: 1.321 MB / 478.3 MB, free: 4.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.201e-05/0.3244, allocations: 16 kB / 478.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3244, allocations: 3.938 kB / 478.4 MB, free: 4.75 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/0.3244, allocations: 7.984 kB / 478.4 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003778/0.3282, allocations: 2.475 MB / 480.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3282, allocations: 0 / 480.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.3288, allocations: 147.7 kB / 481 MB, free: 2.035 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.569e-05/0.3289, allocations: 32.83 kB / 481 MB, free: 2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.314e-05/0.329, allocations: 36.06 kB / 481.1 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00104/0.3301, allocations: 1.467 MB / 482.5 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/0.3301, allocations: 7.969 kB / 482.5 MB, free: 368 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003435/0.3335, allocations: 1.989 MB / 484.5 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000379/0.3339, allocations: 240 kB / 484.8 MB, free: 14.06 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001794/0.3341, allocations: 79.94 kB / 484.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006294/0.3347, allocations: 103.9 kB / 484.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.3349, allocations: 56.53 kB / 485 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.775e-05/0.3349, allocations: 35.91 kB / 485 MB, free: 13.79 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004589/0.3354, allocations: 398.8 kB / 485.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3354, allocations: 0 / 485.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009413/0.3364, allocations: 244.2 kB / 485.7 MB, free: 13.16 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,ac_dc.modulator.gates[1],ac_dc.modulator.gates[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.t0[1],ac_dc.modulator.t0[2],ac_dc.modulator.t0[3],system.initime) * Number of discrete states: 12 (ac_dc.modulator.t0[3],ac_dc.modulator.sigdel_t[3],ac_dc.modulator.gates[5],ac_dc.modulator.gates[6],ac_dc.modulator.t0[2],ac_dc.modulator.sigdel_t[2],ac_dc.modulator.gates[3],ac_dc.modulator.gates[4],ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[1],ac_dc.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 63 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000287/0.3367, allocations: 170.8 kB / 485.8 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002519/0.3392, allocations: 1.65 MB / 487.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3392, allocations: 0 / 487.5 MB, free: 11.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001157/0.3404, allocations: 0.6788 MB / 488.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008632/0.3412, allocations: 159.4 kB / 488.3 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.3452, allocations: 2.903 MB / 491.2 MB, free: 7.504 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007108/0.3459, allocations: 1.111 MB / 492.3 MB, free: 6.367 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002528/0.3462, allocations: 67.42 kB / 492.4 MB, free: 6.301 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3462, allocations: 4 kB / 492.4 MB, free: 6.297 MB / 366.1 MB Notification: Performance of Templates: time 0.02262/0.3688, allocations: 17.53 MB / 0.498 GB, free: 4.762 MB / 382.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Inverter.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_PowerSystems.Examples.AC3ph.Elementary.InverterCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.InverterCalcHelperMain.o] Error 1