Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009585/0.0009583, allocations: 106.2 kB / 17.16 MB, free: 6.348 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.0008805/0.0008806, allocations: 194.9 kB / 18.07 MB, free: 5.445 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.177/1.177, allocations: 205.1 MB / 223.9 MB, free: 12.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1566/0.1566, allocations: 37.99 MB / 309.3 MB, free: 6.258 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: 64.28 kB / 375.3 MB, free: 4.141 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.188/0.1892, allocations: 55.25 MB / 430.5 MB, free: 19.81 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.00636/0.1956, allocations: 7.951 MB / 438.5 MB, free: 11.83 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002632/0.1983, allocations: 1.801 MB / 440.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007491/0.199, allocations: 55.62 kB / 440.3 MB, free: 9.965 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.1994, allocations: 103.3 kB / 440.4 MB, free: 9.863 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009171/0.2004, allocations: 390.3 kB / 440.8 MB, free: 9.48 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004274/0.2008, allocations: 203.8 kB / 441 MB, free: 9.281 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001079/0.2019, allocations: 1.644 MB / 442.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003457/0.2022, allocations: 336.2 kB / 443 MB, free: 7.305 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005789/0.2028, allocations: 422.1 kB / 443.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006576/0.2035, allocations: 0.5529 MB / 443.9 MB, free: 6.336 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.2036, allocations: 40 kB / 444 MB, free: 6.297 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.2038, allocations: 47.94 kB / 444 MB, free: 6.25 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.204, allocations: 319.1 kB / 444.3 MB, free: 5.938 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003227/0.2044, allocations: 378.1 kB / 444.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003876/0.2047, allocations: 0.7055 MB / 445.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2048, allocations: 0 / 445.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of FrontEnd: time 7.91e-07/0.2048, allocations: 0 / 445.4 MB, free: 4.859 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.747e-05/0.2048, allocations: 0 / 445.4 MB, free: 4.859 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001666/0.2065, allocations: 1.152 MB / 446.6 MB, free: 3.641 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.092e-05/0.2065, allocations: 8.031 kB / 446.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.2066, allocations: 87.98 kB / 446.7 MB, free: 3.547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.2073, allocations: 0.5727 MB / 447.2 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.733e-05/0.2074, allocations: 116.8 kB / 447.3 MB, free: 2.805 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.967e-05/0.2075, allocations: 68 kB / 447.4 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001165/0.2086, allocations: 0.8652 MB / 448.3 MB, free: 1.832 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.2087, allocations: 3.938 kB / 448.3 MB, free: 1.828 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.2087, allocations: 24 kB / 448.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-05/0.2088, allocations: 41.28 kB / 448.3 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009199/0.2098, allocations: 0.6179 MB / 449 MB, free: 1.148 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.2128, allocations: 2.762 MB / 451.7 MB, free: 14.28 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.2143, allocations: 0.9082 MB / 452.6 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006559/0.215, allocations: 318.7 kB / 452.9 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.215, allocations: 8.266 kB / 452.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006618/0.2157, allocations: 358.4 kB / 453.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.613e-06/0.2157, allocations: 0 / 453.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.00365/0.2194, allocations: 1.971 MB / 455.3 MB, free: 10.49 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.2194, allocations: 118.8 kB / 455.4 MB, free: 10.35 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004895/0.2199, allocations: 0.5066 MB / 455.9 MB, free: 9.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/0.22, allocations: 37.7 kB / 455.9 MB, free: 9.797 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.2202, allocations: 363.8 kB / 456.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001024/0.2203, allocations: 146 kB / 456.4 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.2205, allocations: 122.1 kB / 456.5 MB, free: 9.164 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.2206, allocations: 362.8 kB / 456.9 MB, free: 8.801 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003117/0.221, allocations: 225.1 kB / 457.1 MB, free: 8.578 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003871/0.2214, allocations: 386.2 kB / 457.5 MB, free: 8.137 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006962/0.2221, allocations: 0.6211 MB / 458.1 MB, free: 7.441 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.2221, allocations: 4 kB / 458.1 MB, free: 7.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001107/0.2232, allocations: 0.9019 MB / 459 MB, free: 6.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.58e-05/0.2232, allocations: 45.69 kB / 459.1 MB, free: 6.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/0.2233, allocations: 8 kB / 459.1 MB, free: 6.441 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002626/0.2235, allocations: 85.66 kB / 459.2 MB, free: 6.352 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/0.2239, allocations: 107.8 kB / 459.3 MB, free: 6.246 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.226, allocations: 2.977 MB / 462.2 MB, free: 2.996 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.2263, allocations: 32.08 kB / 462.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/0.2264, allocations: 55.91 kB / 462.3 MB, free: 2.91 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 14 (system.initime,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 63 * Array equations: 0 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002798/0.2267, allocations: 269.5 kB / 462.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.751e-05/0.2268, allocations: 55.25 kB / 462.6 MB, free: 2.582 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001322/0.2281, allocations: 0.7159 MB / 463.4 MB, free: 1.836 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.2281, allocations: 4 kB / 463.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2281, allocations: 0 / 463.4 MB, free: 1.832 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.2281, allocations: 4 kB / 463.4 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.2303, allocations: 1.547 MB / 464.9 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.2303, allocations: 0 / 464.9 MB, free: 196 kB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.2305, allocations: 59.84 kB / 465 MB, free: 136 kB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002468/0.2308, allocations: 105.5 kB / 465.1 MB, free: 24 kB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.492e-05/0.2308, allocations: 16.05 kB / 465.1 MB, free: 8 kB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002065/0.2329, allocations: 2.973 MB / 468.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.2329, allocations: 0 / 468.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.2347, allocations: 1.071 MB / 469.1 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.2349, allocations: 172.3 kB / 469.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.235, allocations: 31.98 kB / 469.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003504/0.2354, allocations: 39.95 kB / 469.4 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.2354, allocations: 31.89 kB / 469.4 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.2355, allocations: 19.98 kB / 469.4 MB, free: 11.33 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003444/0.2358, allocations: 358.8 kB / 469.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2358, allocations: 0 / 469.8 MB, free: 10.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005723/0.2364, allocations: 152 kB / 469.9 MB, free: 10.84 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,meterDC.pav) * Number of discrete variables: 8 ($whenCondition1,dc_ac.modulator.gates[1],dc_ac.modulator.gates[2],dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.sigdel_t,dc_ac.modulator.t0,system.initime) * Number of discrete states: 6 (dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[3],dc_ac.modulator.gates[4],dc_ac.modulator.gates[1],dc_ac.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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,1,100.0%), (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.0001449/0.2366, allocations: 127.7 kB / 470 MB, free: 10.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001305/0.2379, allocations: 0.898 MB / 470.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2379, allocations: 448 / 470.9 MB, free: 9.77 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000784/0.2387, allocations: 0.4974 MB / 471.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.2394, allocations: 142.3 kB / 471.6 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002315/0.2417, allocations: 1.807 MB / 473.4 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.2422, allocations: 0.9721 MB / 474.4 MB, free: 6.258 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2424, allocations: 55.42 kB / 474.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2424, allocations: 0 / 474.4 MB, free: 6.203 MB / 350.1 MB Notification: Performance of Templates: time 0.01343/0.2558, allocations: 13.42 MB / 487.8 MB, free: 8.77 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Elementary.InverterCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.o] Error 1