Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="Time|meterDCin.i|meterDCin.p|meterDCin.v|meterDCout.i|meterDCout.p|meterDCout.v",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 92.47 kB / 17.31 MB, free: 5.59 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.00127/0.00127, allocations: 184.6 kB / 18.21 MB, free: 5.191 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.563/1.563, allocations: 223.2 MB / 242.2 MB, free: 14.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1828/0.1828, allocations: 38.09 MB / 331.5 MB, free: 8.523 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003492, allocations: 8 kB / 401.4 MB, free: 34.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1556, allocations: 59.16 MB / 460.5 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.01093/0.1666, allocations: 6.769 MB / 467.3 MB, free: 256 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005164/0.1718, allocations: 1.897 MB / 469.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.173, allocations: 39.81 kB / 469.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.1743, allocations: 198.8 kB / 469.4 MB, free: 14.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.1761, allocations: 350.3 kB / 469.8 MB, free: 13.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008978/0.177, allocations: 199.8 kB / 470 MB, free: 13.57 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002293/0.1793, allocations: 1.414 MB / 471.4 MB, free: 12.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008536/0.1802, allocations: 425 kB / 471.8 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009533/0.1811, allocations: 370.2 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009592/0.1821, allocations: 462.3 kB / 472.6 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.963e-05/0.1822, allocations: 36 kB / 472.6 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.1824, allocations: 36 kB / 472.7 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003571/0.1827, allocations: 219.4 kB / 472.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005709/0.1833, allocations: 368 kB / 473.3 MB, free: 10.26 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.1844, allocations: 0.822 MB / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.269e-06/0.1844, allocations: 0 / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1844, allocations: 0 / 474.1 MB, free: 9.434 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.1844, allocations: 0 / 474.1 MB, free: 9.434 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.002461/0.1869, allocations: 0.912 MB / 475 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.785e-05/0.187, allocations: 8.031 kB / 475 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002082/0.1872, allocations: 80.09 kB / 475.1 MB, free: 8.387 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001471/0.1887, allocations: 0.6291 MB / 475.7 MB, free: 7.715 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002148/0.1889, allocations: 117.3 kB / 475.8 MB, free: 7.586 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001417/0.1891, allocations: 63.94 kB / 475.9 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/0.191, allocations: 0.7538 MB / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.191, allocations: 0 / 476.6 MB, free: 6.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.832e-05/0.1911, allocations: 28 kB / 476.7 MB, free: 6.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.458e-05/0.1911, allocations: 16 kB / 476.7 MB, free: 6.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00179/0.1929, allocations: 0.6323 MB / 477.3 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004735/0.1977, allocations: 2.475 MB / 479.8 MB, free: 3.484 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.199, allocations: 413 kB / 480.2 MB, free: 3.055 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005918/0.1996, allocations: 203.1 kB / 480.4 MB, free: 2.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.207e-05/0.1996, allocations: 4.281 kB / 480.4 MB, free: 2.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006487/0.2003, allocations: 247.2 kB / 480.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.975e-06/0.2003, allocations: 0 / 480.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.004296/0.2046, allocations: 0.8863 MB / 481.5 MB, free: 1.664 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001416/0.2048, allocations: 136.5 kB / 481.6 MB, free: 1.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000774/0.2055, allocations: 401.9 kB / 482 MB, free: 1.102 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.615e-05/0.2056, allocations: 37.73 kB / 482.1 MB, free: 1.059 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000424/0.206, allocations: 316 kB / 482.4 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001647/0.2062, allocations: 122.3 kB / 482.5 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000161/0.2064, allocations: 45.69 kB / 482.6 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002738/0.2067, allocations: 354.8 kB / 482.9 MB, free: 220 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004734/0.2072, allocations: 132.8 kB / 483 MB, free: 88 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.2078, allocations: 246 kB / 483.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002088/0.2099, allocations: 0.6598 MB / 483.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.21, allocations: 0 / 483.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001468/0.2114, allocations: 0.525 MB / 484.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.2115, allocations: 12.06 kB / 484.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/0.2115, allocations: 7.938 kB / 484.5 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006122/0.2121, allocations: 148.7 kB / 484.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.2125, allocations: 79.89 kB / 484.7 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.217, allocations: 2.035 MB / 486.7 MB, free: 12.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005119/0.2176, allocations: 55.52 kB / 486.8 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-05/0.2176, allocations: 20.06 kB / 486.8 MB, free: 12.06 MB / 366.1 MB Warning: Assuming fixed start value for the following 2 variables: chopper.modulator.t1:DISCRETE(unit = "s" fixed = true protected = true ) type: Real chopper.modulator.t0:DISCRETE(unit = "s" fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 8 (system.initime,$whenCondition1,$PRE.chopper.modulator.t1,$PRE.chopper.modulator.t0,chopper.chopper.diode.on,chopper.modulator.t1,chopper.modulator.t0,chopper.modulator.gate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0005615/0.2182, allocations: 248.9 kB / 487 MB, free: 11.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001049/0.2183, allocations: 43.53 kB / 487.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001721/0.22, allocations: 491.5 kB / 487.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.2201, allocations: 4 kB / 487.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2201, allocations: 0 / 487.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.107e-05/0.2201, allocations: 11.94 kB / 487.6 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.2212, allocations: 0.6785 MB / 488.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.2212, allocations: 0 / 488.3 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.2215, allocations: 51.91 kB / 488.3 MB, free: 10.48 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005772/0.2221, allocations: 140.8 kB / 488.5 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/0.2222, allocations: 15.94 kB / 488.5 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004209/0.2264, allocations: 2.014 MB / 490.5 MB, free: 8.172 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.486e-06/0.2264, allocations: 12.09 kB / 490.5 MB, free: 8.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002215/0.2287, allocations: 0.6906 MB / 491.2 MB, free: 7.438 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002623/0.2289, allocations: 144.5 kB / 491.3 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.229, allocations: 15.94 kB / 491.3 MB, free: 7.262 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003365/0.2294, allocations: 23.97 kB / 491.4 MB, free: 7.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001392/0.2295, allocations: 27.95 kB / 491.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.2296, allocations: 12 kB / 491.4 MB, free: 7.199 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004722/0.23, allocations: 283.1 kB / 491.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.2301, allocations: 0 / 491.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009117/0.231, allocations: 163.4 kB / 491.8 MB, free: 6.766 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (meterDCin.pav,meterDCout.pav,load.i) * Number of discrete variables: 6 ($whenCondition1,chopper.modulator.gate,chopper.modulator.t0,chopper.modulator.t1,chopper.chopper.diode.on,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001984/0.2312, allocations: 119.2 kB / 492 MB, free: 6.641 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001375/0.2326, allocations: 0.5025 MB / 492.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2326, allocations: 0 / 492.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007568/0.2334, allocations: 338.6 kB / 492.8 MB, free: 5.781 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.2344, allocations: 152.4 kB / 492.9 MB, free: 5.633 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003437/0.2378, allocations: 1.622 MB / 494.6 MB, free: 3.969 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008875/0.2387, allocations: 0.925 MB / 495.5 MB, free: 3.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001275/0.2389, allocations: 35.44 kB / 495.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of SimCode: time 8.02e-07/0.2389, allocations: 0 / 495.5 MB, free: 2.98 MB / 366.1 MB Notification: Performance of Templates: time 0.0213/0.2602, allocations: 10.18 MB / 0.4939 GB, free: 8.832 MB / 382.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.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_latest_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.o OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_latest_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.o] Error 1