Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterAC.i|meterAC.p|meterAC.v|meterDC.i|meterDC.p|meterDC.v",fileNamePrefix="PowerSystems_latest_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.0007995/0.0007995, allocations: 87.95 kB / 16.95 MB, free: 5.676 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.0008193/0.0008195, allocations: 186 kB / 17.85 MB, free: 5.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 223.2 MB / 241.9 MB, free: 14.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1699/0.1699, allocations: 38.09 MB / 331.1 MB, free: 8.637 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003059/0.0003059, allocations: 8 kB / 400.7 MB, free: 34.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09889/0.09922, allocations: 59.16 MB / 459.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006724/0.106, allocations: 7.077 MB / 466.9 MB, free: 320 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003601/0.1096, allocations: 1.703 MB / 468.6 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.1102, allocations: 55.62 kB / 468.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003349/0.1105, allocations: 138.9 kB / 468.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001008/0.1116, allocations: 497.4 kB / 469.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006017/0.1122, allocations: 259.7 kB / 469.6 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00128/0.1135, allocations: 1.309 MB / 470.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003927/0.1139, allocations: 292.6 kB / 471.2 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005699/0.1144, allocations: 402.2 kB / 471.6 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006703/0.1151, allocations: 0.5023 MB / 472.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.69e-05/0.1152, allocations: 36 kB / 472.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.911e-05/0.1153, allocations: 28 kB / 472.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002698/0.1156, allocations: 295.2 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001565/0.1158, allocations: 165.3 kB / 472.6 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005615/0.1163, allocations: 0.6934 MB / 473.3 MB, free: 9.961 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1163, allocations: 4 kB / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1163, allocations: 0 / 473.3 MB, free: 9.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.1164, allocations: 0 / 473.3 MB, free: 9.957 MB / 350.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.001631/0.118, allocations: 1.012 MB / 474.3 MB, free: 8.879 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.118, allocations: 8.031 kB / 474.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00014/0.1182, allocations: 86.97 kB / 474.4 MB, free: 8.785 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007767/0.119, allocations: 0.5562 MB / 474.9 MB, free: 8.188 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.1191, allocations: 116.7 kB / 475.1 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.1192, allocations: 67.94 kB / 475.1 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001379/0.1206, allocations: 0.8731 MB / 476 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.454e-05/0.1206, allocations: 0 / 476 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.172e-05/0.1207, allocations: 27.98 kB / 476 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.92e-05/0.1208, allocations: 37.3 kB / 476.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.1219, allocations: 0.6334 MB / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003238/0.1251, allocations: 2.77 MB / 479.5 MB, free: 3.512 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001479/0.1266, allocations: 0.9148 MB / 480.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006359/0.1273, allocations: 334.2 kB / 480.7 MB, free: 2.176 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.764e-05/0.1273, allocations: 12.27 kB / 480.7 MB, free: 2.164 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006486/0.128, allocations: 358.9 kB / 481.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=41): time 2.144e-06/0.128, allocations: 0 / 481.1 MB, free: 1.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.003841/0.1318, allocations: 2.034 MB / 483.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.518e-05/0.1319, allocations: 118.8 kB / 483.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.1325, allocations: 0.5066 MB / 483.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.373e-05/0.1325, allocations: 41.69 kB / 483.8 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002395/0.1328, allocations: 355.8 kB / 484.1 MB, free: 14.58 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001121/0.1329, allocations: 142 kB / 484.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.553e-05/0.1329, allocations: 16 kB / 484.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1331, allocations: 366.8 kB / 484.6 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003083/0.1334, allocations: 209.1 kB / 484.8 MB, free: 13.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003962/0.1338, allocations: 382.2 kB / 485.2 MB, free: 13.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004055/0.1342, allocations: 298.4 kB / 485.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.1342, allocations: 3.953 kB / 485.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001096/0.1353, allocations: 0.8551 MB / 486.3 MB, free: 12.2 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.624e-05/0.1354, allocations: 53.69 kB / 486.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.1354, allocations: 8 kB / 486.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.1357, allocations: 89.94 kB / 486.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003646/0.136, allocations: 107.8 kB / 486.6 MB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/0.1383, allocations: 2.985 MB / 489.6 MB, free: 8.688 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003134/0.1386, allocations: 31.98 kB / 489.6 MB, free: 8.656 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.408e-05/0.1387, allocations: 48.06 kB / 489.7 MB, free: 8.609 MB / 366.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,$whenCondition1,$PRE.dc_ac.modulator.gates[1],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.t0,dc_ac.modulator.t0) * 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 (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%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003421/0.139, allocations: 265.5 kB / 489.9 MB, free: 8.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.719e-05/0.1391, allocations: 63.2 kB / 490 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/0.1404, allocations: 0.7316 MB / 490.7 MB, free: 7.516 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.1405, allocations: 8 kB / 490.7 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1405, allocations: 0 / 490.7 MB, free: 7.508 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.333e-06/0.1405, allocations: 3.953 kB / 490.7 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002204/0.1427, allocations: 1.555 MB / 492.3 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-06/0.1427, allocations: 0 / 492.3 MB, free: 5.859 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.143, allocations: 67.78 kB / 492.3 MB, free: 5.793 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002514/0.1432, allocations: 105.7 kB / 492.5 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.1433, allocations: 11.98 kB / 492.5 MB, free: 5.672 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/0.1454, allocations: 2.981 MB / 495.4 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1454, allocations: 0 / 495.4 MB, free: 2.422 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00193/0.1474, allocations: 1.102 MB / 496.5 MB, free: 1.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.1476, allocations: 168.4 kB / 496.7 MB, free: 1.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.023e-05/0.1477, allocations: 27.98 kB / 496.7 MB, free: 1.059 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003321/0.148, allocations: 51.95 kB / 496.8 MB, free: 1.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.106e-05/0.1481, allocations: 31.91 kB / 496.8 MB, free: 0.9766 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.1482, allocations: 19.98 kB / 496.8 MB, free: 0.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000374/0.1485, allocations: 350.8 kB / 497.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1485, allocations: 0 / 497.2 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006836/0.1492, allocations: 148 kB / 497.3 MB, free: 484 kB / 366.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 (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%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001836/0.1494, allocations: 136.3 kB / 497.5 MB, free: 340 kB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00137/0.1508, allocations: 0.9008 MB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.1508, allocations: 1.375 kB / 498.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000795/0.1516, allocations: 0.5016 MB / 498.9 MB, free: 14.87 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007259/0.1524, allocations: 141.2 kB / 499 MB, free: 14.73 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/0.1549, allocations: 1.875 MB / 0.4891 GB, free: 12.81 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00052/0.1554, allocations: 0.9682 MB / 0.4901 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001179/0.1555, allocations: 47.42 kB / 0.4901 GB, free: 11.77 MB / 382.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1555, allocations: 0 / 0.4901 GB, free: 11.77 MB / 382.1 MB Notification: Performance of Templates: time 0.2255/0.381, allocations: 13.37 MB / 0.5032 GB, free: 55.68 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.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_latest_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.o] Error 1