Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.0009196/0.0009197, allocations: 110.9 kB / 17.17 MB, free: 6.082 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.0008685/0.0008685, allocations: 198.9 kB / 18.08 MB, free: 5.285 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.172/1.172, allocations: 205.1 MB / 223.9 MB, free: 12.39 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1544/0.1544, allocations: 38 MB / 309.3 MB, free: 6.215 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.00135/0.00135, allocations: 67.36 kB / 375.3 MB, free: 4.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.1853, allocations: 55.24 MB / 430.5 MB, free: 19.89 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.00573/0.191, allocations: 7.204 MB / 437.7 MB, free: 12.65 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002234/0.1933, allocations: 1.979 MB / 439.7 MB, free: 10.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004756/0.1938, allocations: 35.75 kB / 439.7 MB, free: 10.62 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.1944, allocations: 202.8 kB / 439.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006253/0.195, allocations: 346.3 kB / 440.3 MB, free: 10.09 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000321/0.1953, allocations: 199.8 kB / 440.5 MB, free: 9.891 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000716/0.1961, allocations: 1.418 MB / 441.9 MB, free: 8.469 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003565/0.1964, allocations: 432.9 kB / 442.3 MB, free: 8.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003261/0.1968, allocations: 394.3 kB / 442.7 MB, free: 7.648 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004145/0.1972, allocations: 490.3 kB / 443.2 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.146e-05/0.1973, allocations: 48 kB / 443.2 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-05/0.1974, allocations: 52 kB / 443.3 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.1975, allocations: 243.3 kB / 443.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000229/0.1978, allocations: 370.3 kB / 443.9 MB, free: 6.469 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.1982, allocations: 0.834 MB / 444.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.1982, allocations: 0 / 444.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1982, allocations: 0 / 444.7 MB, free: 5.633 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.604e-06/0.1982, allocations: 0 / 444.7 MB, free: 5.633 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: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001468/0.1997, allocations: 1.025 MB / 445.7 MB, free: 4.559 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.1997, allocations: 8.031 kB / 445.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.1998, allocations: 80.08 kB / 445.8 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008427/0.2007, allocations: 0.6097 MB / 446.4 MB, free: 3.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001206/0.2008, allocations: 117.2 kB / 446.5 MB, free: 3.695 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.948e-05/0.2009, allocations: 63.94 kB / 446.6 MB, free: 3.633 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.202, allocations: 0.746 MB / 447.3 MB, free: 2.855 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.202, allocations: 4 kB / 447.3 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.43e-05/0.2021, allocations: 23.98 kB / 447.4 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.401e-05/0.2021, allocations: 16 kB / 447.4 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.2031, allocations: 0.6011 MB / 448 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002979/0.2061, allocations: 2.464 MB / 450.4 MB, free: 15.65 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.2071, allocations: 424.9 kB / 450.9 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/0.2076, allocations: 199.1 kB / 451.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.2076, allocations: 4.281 kB / 451.1 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004998/0.2081, allocations: 251.2 kB / 451.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 3.436e-06/0.2081, allocations: 0 / 451.3 MB, free: 14.73 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.003063/0.2112, allocations: 0.8893 MB / 452.2 MB, free: 13.81 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.2113, allocations: 132.5 kB / 452.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004055/0.2117, allocations: 398 kB / 452.7 MB, free: 13.25 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.2118, allocations: 33.7 kB / 452.7 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.212, allocations: 316 kB / 453.1 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.2121, allocations: 126.3 kB / 453.2 MB, free: 12.77 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001142/0.2122, allocations: 78.12 kB / 453.3 MB, free: 12.69 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2123, allocations: 354.8 kB / 453.6 MB, free: 12.33 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002751/0.2126, allocations: 128.8 kB / 453.7 MB, free: 12.21 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003232/0.2129, allocations: 254 kB / 454 MB, free: 11.91 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.2143, allocations: 0.6519 MB / 454.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.2143, allocations: 0 / 454.6 MB, free: 11.21 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0009309/0.2153, allocations: 0.5208 MB / 455.1 MB, free: 10.68 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.2153, allocations: 4 kB / 455.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.2153, allocations: 4 kB / 455.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003928/0.2157, allocations: 149.2 kB / 455.3 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002689/0.216, allocations: 79.84 kB / 455.4 MB, free: 10.45 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002833/0.2188, allocations: 2.056 MB / 457.4 MB, free: 8.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002925/0.2191, allocations: 55.45 kB / 457.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.2192, allocations: 20 kB / 457.5 MB, free: 8.188 MB / 334.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.000287/0.2195, allocations: 241.7 kB / 457.7 MB, free: 7.941 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.802e-05/0.2195, allocations: 47.42 kB / 457.8 MB, free: 7.895 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001118/0.2207, allocations: 478.6 kB / 458.3 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.2207, allocations: 11.88 kB / 458.3 MB, free: 7.406 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.2207, allocations: 4 kB / 458.3 MB, free: 7.402 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.2207, allocations: 3.938 kB / 458.3 MB, free: 7.398 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006517/0.2213, allocations: 0.6707 MB / 459 MB, free: 6.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.2214, allocations: 8.031 kB / 459 MB, free: 6.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.2216, allocations: 51.91 kB / 459 MB, free: 6.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003794/0.222, allocations: 148.7 kB / 459.2 MB, free: 6.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.222, allocations: 7.938 kB / 459.2 MB, free: 6.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002583/0.2246, allocations: 2.023 MB / 461.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2246, allocations: 0 / 461.2 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.226, allocations: 0.7057 MB / 461.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001369/0.2262, allocations: 148.5 kB / 462 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.278e-05/0.2262, allocations: 8 kB / 462 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002124/0.2264, allocations: 15.98 kB / 462.1 MB, free: 3.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.107e-05/0.2265, allocations: 39.88 kB / 462.1 MB, free: 3.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.08e-05/0.2266, allocations: 16 kB / 462.1 MB, free: 3.312 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002522/0.2268, allocations: 279.1 kB / 462.4 MB, free: 3.043 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.2268, allocations: 4 kB / 462.4 MB, free: 3.039 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004954/0.2273, allocations: 155.5 kB / 462.5 MB, free: 2.887 MB / 334.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.0001104/0.2274, allocations: 107.2 kB / 462.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008432/0.2283, allocations: 0.4944 MB / 463.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2283, allocations: 0 / 463.1 MB, free: 2.266 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004804/0.2288, allocations: 343.2 kB / 463.5 MB, free: 1.918 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006139/0.2294, allocations: 149.5 kB / 463.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.2313, allocations: 1.532 MB / 465.2 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.2318, allocations: 0.925 MB / 466.1 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.487e-05/0.2319, allocations: 39.38 kB / 466.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2319, allocations: 3.938 kB / 466.1 MB, free: 15.21 MB / 350.1 MB Notification: Performance of Templates: time 0.0111/0.243, allocations: 10.25 MB / 476.4 MB, free: 4.957 MB / 350.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Chopper.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.ChopperCalcHelperMain.o] Error 1