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.0009449/0.0009448, allocations: 109.9 kB / 17.17 MB, free: 6.309 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.0009171/0.0009171, allocations: 198.9 kB / 18.08 MB, free: 5.414 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.298/1.298, allocations: 222.9 MB / 241.7 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1709/0.1709, allocations: 38.04 MB / 329.9 MB, free: 9.078 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 58.64 kB / 398.7 MB, free: 34.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.121, allocations: 58.05 MB / 456.8 MB, free: 8.555 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.008339/0.1294, allocations: 7.21 MB / 464 MB, free: 1.305 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003103/0.1326, allocations: 1.932 MB / 465.9 MB, free: 15.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003628/0.1329, allocations: 39.75 kB / 466 MB, free: 15.33 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006071/0.1336, allocations: 198.8 kB / 466.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006898/0.1343, allocations: 346.3 kB / 466.5 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000398/0.1347, allocations: 195.8 kB / 466.7 MB, free: 14.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001165/0.1359, allocations: 1.418 MB / 468.1 MB, free: 13.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000518/0.1364, allocations: 421 kB / 468.5 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.1369, allocations: 394.3 kB / 468.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006021/0.1375, allocations: 0.4905 MB / 469.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.998e-05/0.1376, allocations: 48 kB / 469.5 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001214/0.1378, allocations: 48 kB / 469.5 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.138, allocations: 247.3 kB / 469.7 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003853/0.1384, allocations: 366.3 kB / 470.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007267/0.1392, allocations: 0.8379 MB / 470.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.1392, allocations: 0 / 470.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.71e-07/0.1392, allocations: 0 / 470.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.396e-06/0.1392, allocations: 0 / 470.9 MB, free: 10.34 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.001947/0.1411, allocations: 1.024 MB / 472 MB, free: 9.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.1412, allocations: 8.031 kB / 472 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.1413, allocations: 72.09 kB / 472 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001013/0.1424, allocations: 0.6214 MB / 472.7 MB, free: 8.527 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001464/0.1425, allocations: 113.3 kB / 472.8 MB, free: 8.402 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.1426, allocations: 63.88 kB / 472.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001238/0.1439, allocations: 0.7499 MB / 473.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.1439, allocations: 0 / 473.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.877e-05/0.144, allocations: 24 kB / 473.6 MB, free: 7.535 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.313e-05/0.144, allocations: 12 kB / 473.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00111/0.1451, allocations: 0.605 MB / 474.2 MB, free: 6.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.1483, allocations: 2.471 MB / 476.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008485/0.1491, allocations: 428.9 kB / 477.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003875/0.1495, allocations: 203.1 kB / 477.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.023e-05/0.1496, allocations: 4.281 kB / 477.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004453/0.15, allocations: 251.2 kB / 477.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 3.186e-06/0.1501, allocations: 0 / 477.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002891/0.153, allocations: 0.8822 MB / 478.4 MB, free: 2.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.619e-05/0.153, allocations: 136.5 kB / 478.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004252/0.1535, allocations: 401.8 kB / 479 MB, free: 1.945 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.199e-05/0.1535, allocations: 37.7 kB / 479 MB, free: 1.902 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002319/0.1538, allocations: 320.1 kB / 479.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.297e-05/0.1539, allocations: 122.3 kB / 479.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.154, allocations: 78.12 kB / 479.5 MB, free: 1.379 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.1542, allocations: 354.8 kB / 479.9 MB, free: 1.023 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/0.1545, allocations: 128.8 kB / 480 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003554/0.1548, allocations: 250 kB / 480.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00143/0.1563, allocations: 0.6594 MB / 480.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.1563, allocations: 4 kB / 480.9 MB, free: 15.89 MB / 366.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009934/0.1573, allocations: 0.5168 MB / 481.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1573, allocations: 8 kB / 481.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.788e-06/0.1573, allocations: 4.469 kB / 481.4 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004435/0.1578, allocations: 148.8 kB / 481.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.1581, allocations: 79.84 kB / 481.6 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003138/0.1612, allocations: 2.036 MB / 483.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003388/0.1616, allocations: 51.61 kB / 483.7 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.1616, allocations: 19.94 kB / 483.8 MB, free: 12.88 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.0003581/0.162, allocations: 243.5 kB / 484 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.16e-05/0.1621, allocations: 51.38 kB / 484 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.1632, allocations: 487.7 kB / 484.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.013e-06/0.1633, allocations: 4 kB / 484.5 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.814e-06/0.1633, allocations: 3.938 kB / 484.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.1633, allocations: 7.938 kB / 484.5 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007534/0.164, allocations: 0.6707 MB / 485.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.1641, allocations: 0 / 485.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/0.1643, allocations: 51.91 kB / 485.3 MB, free: 11.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.1647, allocations: 140.8 kB / 485.4 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.1647, allocations: 11.94 kB / 485.4 MB, free: 11.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002887/0.1676, allocations: 2.026 MB / 487.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.1676, allocations: 192 / 487.4 MB, free: 8.992 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00147/0.1691, allocations: 0.6907 MB / 488.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001737/0.1693, allocations: 156.4 kB / 488.3 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.42e-05/0.1694, allocations: 4 kB / 488.3 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.1696, allocations: 23.97 kB / 488.3 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.1697, allocations: 31.89 kB / 488.3 MB, free: 8.039 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.467e-05/0.1698, allocations: 16 kB / 488.3 MB, free: 8.023 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000325/0.1701, allocations: 283.1 kB / 488.6 MB, free: 7.75 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1701, allocations: 0 / 488.6 MB, free: 7.75 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006359/0.1707, allocations: 163.4 kB / 488.8 MB, free: 7.59 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.0001433/0.1709, allocations: 107.2 kB / 488.9 MB, free: 7.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000968/0.1719, allocations: 0.5022 MB / 489.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.1719, allocations: 0 / 489.4 MB, free: 6.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00054/0.1724, allocations: 347.3 kB / 489.7 MB, free: 6.609 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00066/0.1731, allocations: 149.5 kB / 489.9 MB, free: 6.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.1754, allocations: 1.534 MB / 491.4 MB, free: 4.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005416/0.176, allocations: 0.925 MB / 492.3 MB, free: 3.938 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.006e-05/0.1761, allocations: 35.44 kB / 492.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of SimCode: time 2.344e-06/0.1761, allocations: 0 / 492.4 MB, free: 3.902 MB / 366.1 MB Notification: Performance of Templates: time 0.01299/0.1891, allocations: 10.25 MB / 0.4908 GB, free: 9.688 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