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.001023/0.001023, allocations: 92.95 kB / 16.95 MB, free: 5.953 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.001083/0.001083, allocations: 176.8 kB / 17.84 MB, free: 5.621 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.604/1.604, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1693/0.1693, allocations: 38.04 MB / 310.3 MB, free: 6.035 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.0005433/0.0005433, allocations: 16 kB / 377.1 MB, free: 3.105 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.264, allocations: 56.33 MB / 433.5 MB, free: 18.84 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Chopper): time 0.004813/0.2689, allocations: 6.399 MB / 439.9 MB, free: 12.41 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001992/0.2709, allocations: 1.875 MB / 441.8 MB, free: 10.53 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002637/0.2712, allocations: 31.81 kB / 441.8 MB, free: 10.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004386/0.2716, allocations: 210.6 kB / 442 MB, free: 10.29 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000518/0.2722, allocations: 374 kB / 442.4 MB, free: 9.922 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.2725, allocations: 195.7 kB / 442.5 MB, free: 9.73 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000702/0.2732, allocations: 1.16 MB / 443.7 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003394/0.2736, allocations: 333.8 kB / 444 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003266/0.2739, allocations: 362.4 kB / 444.4 MB, free: 7.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004576/0.2744, allocations: 446.4 kB / 444.8 MB, free: 7.445 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.422e-05/0.2744, allocations: 36 kB / 444.9 MB, free: 7.41 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.2745, allocations: 40 kB / 444.9 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001672/0.2747, allocations: 223.3 kB / 445.1 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001094/0.2748, allocations: 169.4 kB / 445.3 MB, free: 6.98 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.2752, allocations: 0.8064 MB / 446.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.2753, allocations: 0 / 446.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2753, allocations: 0 / 446.1 MB, free: 6.172 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.2753, allocations: 0 / 446.1 MB, free: 6.172 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.001284/0.2766, allocations: 0.9197 MB / 447 MB, free: 5.203 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.2766, allocations: 12.03 kB / 447 MB, free: 5.191 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/0.2767, allocations: 75.06 kB / 447.1 MB, free: 5.117 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007582/0.2775, allocations: 0.6087 MB / 447.7 MB, free: 4.461 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2776, allocations: 112.7 kB / 447.8 MB, free: 4.34 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.149e-05/0.2777, allocations: 60 kB / 447.9 MB, free: 4.281 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009755/0.2787, allocations: 0.7577 MB / 448.6 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2787, allocations: 4 kB / 448.6 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.2787, allocations: 27.95 kB / 448.7 MB, free: 3.461 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.2788, allocations: 16 kB / 448.7 MB, free: 3.445 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009207/0.2797, allocations: 0.6206 MB / 449.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.2821, allocations: 2.475 MB / 451.8 MB, free: 256 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007412/0.2828, allocations: 425.2 kB / 452.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003855/0.2832, allocations: 203.1 kB / 452.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.2833, allocations: 4.281 kB / 452.4 MB, free: 15.59 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004236/0.2837, allocations: 251.1 kB / 452.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.613e-06/0.2837, allocations: 0 / 452.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002657/0.2864, allocations: 0.8736 MB / 453.5 MB, free: 14.42 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.577e-05/0.2865, allocations: 140.5 kB / 453.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004105/0.2869, allocations: 393.9 kB / 454 MB, free: 13.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.943e-05/0.2869, allocations: 33.7 kB / 454.1 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002193/0.2871, allocations: 312.1 kB / 454.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000106/0.2873, allocations: 122.3 kB / 454.5 MB, free: 13.39 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.96e-05/0.2873, allocations: 8 kB / 454.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.2874, allocations: 358.8 kB / 454.8 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002745/0.2877, allocations: 124.8 kB / 455 MB, free: 12.9 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003503/0.2881, allocations: 250 kB / 455.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003325/0.2884, allocations: 160.6 kB / 455.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.063e-06/0.2884, allocations: 4 kB / 455.4 MB, free: 12.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001002/0.2895, allocations: 0.5188 MB / 455.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.2895, allocations: 4.469 kB / 455.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.2895, allocations: 11.98 kB / 455.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004956/0.29, allocations: 144.7 kB / 456 MB, free: 11.76 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002726/0.2903, allocations: 75.91 kB / 456.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002983/0.2933, allocations: 2.053 MB / 458.2 MB, free: 9.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000291/0.2936, allocations: 55.47 kB / 458.2 MB, free: 9.445 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.982e-05/0.2936, allocations: 16 kB / 458.2 MB, free: 9.43 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,chopper.modulator.gate,$PRE.chopper.modulator.t0,chopper.modulator.t0,$PRE.chopper.modulator.t1,chopper.modulator.t1,chopper.chopper.diode.on) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003166/0.294, allocations: 245.9 kB / 458.5 MB, free: 9.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.993e-05/0.294, allocations: 51.42 kB / 458.5 MB, free: 9.129 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.2952, allocations: 482.5 kB / 459 MB, free: 8.648 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.792e-06/0.2952, allocations: 4 kB / 459 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.2952, allocations: 7.938 kB / 459 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.2952, allocations: 0 / 459 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007322/0.2959, allocations: 0.6785 MB / 459.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.2959, allocations: 0 / 459.7 MB, free: 7.898 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.2962, allocations: 43.92 kB / 459.7 MB, free: 7.855 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003614/0.2965, allocations: 148.7 kB / 459.9 MB, free: 7.707 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.702e-05/0.2966, allocations: 11.98 kB / 459.9 MB, free: 7.695 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002627/0.2992, allocations: 2.026 MB / 461.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2992, allocations: 0 / 461.9 MB, free: 5.531 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/0.3006, allocations: 0.6904 MB / 462.6 MB, free: 4.809 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.3007, allocations: 152.5 kB / 462.8 MB, free: 4.641 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.3008, allocations: 12 kB / 462.8 MB, free: 4.629 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002012/0.301, allocations: 23.98 kB / 462.8 MB, free: 4.605 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.3011, allocations: 39.89 kB / 462.8 MB, free: 4.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.3011, allocations: 8 kB / 462.8 MB, free: 4.559 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002891/0.3014, allocations: 279.1 kB / 463.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3015, allocations: 0 / 463.1 MB, free: 4.289 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005249/0.302, allocations: 159.5 kB / 463.3 MB, free: 4.133 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001334/0.3021, allocations: 114.8 kB / 463.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008849/0.303, allocations: 0.4965 MB / 463.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.303, allocations: 0 / 463.9 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000497/0.3035, allocations: 342.3 kB / 464.2 MB, free: 3.16 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.3042, allocations: 149.8 kB / 464.4 MB, free: 3.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00207/0.3062, allocations: 1.581 MB / 465.9 MB, free: 1.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004865/0.3067, allocations: 0.9211 MB / 466.9 MB, free: 456 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.365e-05/0.3068, allocations: 39.44 kB / 466.9 MB, free: 416 kB / 334.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3068, allocations: 0 / 466.9 MB, free: 416 kB / 334.1 MB Notification: Performance of Templates: time 0.01267/0.3195, allocations: 10.21 MB / 477.1 MB, free: 6.203 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++ 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_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