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.0009753/0.0009753, allocations: 109.7 kB / 17.16 MB, free: 6.328 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.001005/0.001005, 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.191/1.191, allocations: 205.1 MB / 223.9 MB, free: 12.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1553/0.1553, allocations: 38 MB / 309.3 MB, free: 6.227 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.001839/0.001839, allocations: 79.02 kB / 375.3 MB, free: 4.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1932/0.1951, allocations: 55.24 MB / 430.5 MB, free: 19.8 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Inverter): time 0.006141/0.2013, allocations: 8.38 MB / 438.9 MB, free: 11.38 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.2043, allocations: 2.552 MB / 441.4 MB, free: 8.816 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003765/0.2047, allocations: 59.62 kB / 441.5 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009069/0.2056, allocations: 466.1 kB / 442 MB, free: 8.301 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007814/0.2064, allocations: 0.5097 MB / 442.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005721/0.207, allocations: 355.5 kB / 442.8 MB, free: 7.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009587/0.208, allocations: 1.921 MB / 444.7 MB, free: 5.516 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000631/0.2086, allocations: 0.7023 MB / 445.4 MB, free: 4.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000438/0.209, allocations: 0.5331 MB / 446 MB, free: 4.262 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005525/0.2096, allocations: 0.7087 MB / 446.7 MB, free: 3.551 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.2097, allocations: 63.94 kB / 446.7 MB, free: 3.488 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005875/0.2103, allocations: 0.5109 MB / 447.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002825/0.2106, allocations: 474.8 kB / 447.7 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003564/0.211, allocations: 0.5209 MB / 448.2 MB, free: 1.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006459/0.2116, allocations: 1.185 MB / 449.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2116, allocations: 0 / 449.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.2116, allocations: 0 / 449.4 MB, free: 0.8008 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.2117, allocations: 0 / 449.4 MB, free: 0.8008 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.002365/0.214, allocations: 1.563 MB / 451 MB, free: 15.16 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2141, allocations: 16.02 kB / 451 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000687/0.2148, allocations: 155.6 kB / 451.2 MB, free: 14.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009349/0.2157, allocations: 0.6941 MB / 451.8 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.2159, allocations: 175.6 kB / 452 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002001/0.2161, allocations: 107.8 kB / 452.1 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/0.2183, allocations: 1.532 MB / 453.7 MB, free: 12.36 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.2184, allocations: 7.938 kB / 453.7 MB, free: 12.35 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.58e-05/0.2185, allocations: 39.97 kB / 453.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001508/0.2186, allocations: 69.97 kB / 453.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00192/0.2206, allocations: 1.163 MB / 454.9 MB, free: 11.08 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/0.2257, allocations: 4.789 MB / 459.7 MB, free: 6.133 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002559/0.2283, allocations: 1.129 MB / 460.9 MB, free: 4.969 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.2294, allocations: 0.5583 MB / 461.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.2295, allocations: 12.55 kB / 461.4 MB, free: 4.395 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.2307, allocations: 0.7143 MB / 462.1 MB, free: 3.656 MB / 334.1 MB Notification: Performance of pre-optimization done (n=80): time 2.215e-06/0.2307, allocations: 8 kB / 462.1 MB, free: 3.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=81): time 0.00599/0.2367, allocations: 3.185 MB / 465.3 MB, free: 376 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.491e-05/0.2368, allocations: 127.5 kB / 465.5 MB, free: 224 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005696/0.2374, allocations: 0.5887 MB / 466 MB, free: 15.62 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.2375, allocations: 49.7 kB / 466.1 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002712/0.2377, allocations: 451.1 kB / 466.5 MB, free: 15.12 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.2379, allocations: 276.2 kB / 466.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002514/0.2382, allocations: 202.4 kB / 467 MB, free: 14.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.2384, allocations: 402.7 kB / 467.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006357/0.239, allocations: 482 kB / 467.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/0.2398, allocations: 0.7421 MB / 468.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001393/0.2412, allocations: 1.254 MB / 469.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/0.2412, allocations: 4 kB / 469.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002123/0.2433, allocations: 1.584 MB / 471.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.2434, allocations: 66.3 kB / 471.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001694/0.2451, allocations: 1.329 MB / 472.8 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003717/0.2455, allocations: 113.5 kB / 473 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006754/0.2462, allocations: 207.6 kB / 473.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.2485, allocations: 3.071 MB / 476.2 MB, free: 4.824 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005461/0.2491, allocations: 71.92 kB / 476.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.2492, allocations: 75.89 kB / 476.4 MB, free: 4.68 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,ac_dc.modulator.t0[3],$PRE.ac_dc.modulator.t0[3],ac_dc.modulator.t0[2],$PRE.ac_dc.modulator.t0[2],ac_dc.modulator.t0[1],$PRE.ac_dc.modulator.t0[1],ac_dc.modulator.sigdel_t[3],$PRE.ac_dc.modulator.sigdel_t[3],ac_dc.modulator.sigdel_t[2],$PRE.ac_dc.modulator.sigdel_t[2],ac_dc.modulator.sigdel_t[1],$PRE.ac_dc.modulator.sigdel_t[1],ac_dc.modulator.gates[6],$PRE.ac_dc.modulator.gates[6],ac_dc.modulator.gates[5],$PRE.ac_dc.modulator.gates[5],ac_dc.modulator.gates[4],$PRE.ac_dc.modulator.gates[4],ac_dc.modulator.gates[3],$PRE.ac_dc.modulator.gates[3],ac_dc.modulator.gates[2],$PRE.ac_dc.modulator.gates[2],ac_dc.modulator.gates[1],$PRE.ac_dc.modulator.gates[1],$whenCondition1,$whenCondition2,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000468/0.2497, allocations: 385.4 kB / 476.7 MB, free: 4.293 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.2498, allocations: 75.06 kB / 476.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002459/0.2523, allocations: 1.27 MB / 478.1 MB, free: 2.918 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.988e-05/0.2523, allocations: 23.94 kB / 478.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.2523, allocations: 0 / 478.1 MB, free: 2.895 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.2524, allocations: 3.984 kB / 478.1 MB, free: 2.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.2561, allocations: 2.44 MB / 480.6 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2561, allocations: 0 / 480.6 MB, free: 372 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006468/0.2567, allocations: 143.8 kB / 480.7 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.375e-05/0.2568, allocations: 40.77 kB / 480.7 MB, free: 184 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.962e-05/0.2569, allocations: 27.98 kB / 480.8 MB, free: 156 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009629/0.2579, allocations: 1.459 MB / 482.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2579, allocations: 0 / 482.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.2612, allocations: 1.923 MB / 484.1 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000294/0.2615, allocations: 247.9 kB / 484.4 MB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001616/0.2616, allocations: 80.03 kB / 484.5 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.2623, allocations: 87.88 kB / 484.6 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.2624, allocations: 64.5 kB / 484.6 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.2625, allocations: 27.97 kB / 484.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004102/0.2629, allocations: 398.8 kB / 485 MB, free: 11.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2629, allocations: 0 / 485 MB, free: 11.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007877/0.2637, allocations: 244 kB / 485.3 MB, free: 11.44 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 (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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002462/0.264, allocations: 182.7 kB / 485.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002277/0.2662, allocations: 1.627 MB / 487.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.2663, allocations: 0 / 487.1 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.2674, allocations: 0.6635 MB / 487.7 MB, free: 8.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007923/0.2682, allocations: 166.7 kB / 487.9 MB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003767/0.272, allocations: 2.804 MB / 490.7 MB, free: 5.895 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006582/0.2726, allocations: 1.103 MB / 491.8 MB, free: 4.766 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002354/0.2729, allocations: 71.42 kB / 491.9 MB, free: 4.695 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2729, allocations: 3.938 kB / 491.9 MB, free: 4.691 MB / 366.1 MB Notification: Performance of Templates: time 0.01871/0.2916, allocations: 17.6 MB / 0.4975 GB, free: 3.082 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++ -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.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