Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_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 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.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_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.000836/0.000836, allocations: 95.2 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.000796/0.0007961, allocations: 178.2 kB / 17.84 MB, free: 5.617 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.578/1.578, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.177/0.177, allocations: 38.04 MB / 310.3 MB, free: 6.039 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.0004841/0.0004841, allocations: 20 kB / 377.1 MB, free: 3.102 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2751, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.005931/0.2811, allocations: 7.061 MB / 440.5 MB, free: 11.74 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002872/0.284, allocations: 1.743 MB / 442.3 MB, free: 9.992 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005136/0.2846, allocations: 55.62 kB / 442.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003482/0.2849, allocations: 142.9 kB / 442.5 MB, free: 9.797 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009868/0.2859, allocations: 0.4936 MB / 443 MB, free: 9.301 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005245/0.2865, allocations: 259.6 kB / 443.2 MB, free: 9.047 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009187/0.2874, allocations: 1.301 MB / 444.5 MB, free: 7.742 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003525/0.2878, allocations: 296.5 kB / 444.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004306/0.2882, allocations: 406.2 kB / 445.2 MB, free: 7.055 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005661/0.2888, allocations: 0.4983 MB / 445.7 MB, free: 6.555 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.625e-05/0.2889, allocations: 32 kB / 445.7 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.851e-05/0.2889, allocations: 28 kB / 445.8 MB, free: 6.496 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002261/0.2892, allocations: 303.2 kB / 446.1 MB, free: 6.199 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001305/0.2893, allocations: 165.3 kB / 446.2 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.2898, allocations: 0.6857 MB / 446.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2898, allocations: 0 / 446.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2898, allocations: 0 / 446.9 MB, free: 5.344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.2898, allocations: 0 / 446.9 MB, free: 5.344 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: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001482/0.2913, allocations: 1.02 MB / 447.9 MB, free: 4.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2914, allocations: 8.031 kB / 447.9 MB, free: 4.25 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001224/0.2915, allocations: 87.06 kB / 448 MB, free: 4.164 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006901/0.2922, allocations: 0.5562 MB / 448.6 MB, free: 3.566 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.912e-05/0.2923, allocations: 116.7 kB / 448.7 MB, free: 3.438 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.198e-05/0.2924, allocations: 64 kB / 448.8 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001207/0.2936, allocations: 0.8652 MB / 449.6 MB, free: 2.469 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2936, allocations: 8 kB / 449.6 MB, free: 2.461 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.2937, allocations: 31.94 kB / 449.7 MB, free: 2.43 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.685e-05/0.2938, allocations: 41.28 kB / 449.7 MB, free: 2.391 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009459/0.2948, allocations: 0.6411 MB / 450.3 MB, free: 1.75 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003066/0.2978, allocations: 2.759 MB / 453.1 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.2994, allocations: 0.9205 MB / 454 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006822/0.3001, allocations: 334.2 kB / 454.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.484e-05/0.3001, allocations: 4.328 kB / 454.4 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006954/0.3008, allocations: 366.7 kB / 454.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 2.595e-06/0.3008, allocations: 0 / 454.7 MB, free: 13.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.003897/0.3048, allocations: 2.033 MB / 456.7 MB, free: 11.01 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.685e-05/0.3048, allocations: 114.8 kB / 456.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005651/0.3054, allocations: 0.5066 MB / 457.4 MB, free: 10.36 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.063e-05/0.3055, allocations: 45.64 kB / 457.4 MB, free: 10.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002597/0.3057, allocations: 355.8 kB / 457.8 MB, free: 9.953 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001179/0.3059, allocations: 142.1 kB / 457.9 MB, free: 9.812 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.713e-05/0.3059, allocations: 12 kB / 457.9 MB, free: 9.801 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3061, allocations: 366.8 kB / 458.3 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.3064, allocations: 213.1 kB / 458.5 MB, free: 9.223 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004067/0.3068, allocations: 378.2 kB / 458.8 MB, free: 8.785 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/0.3072, allocations: 294.4 kB / 459.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3072, allocations: 8 kB / 459.1 MB, free: 8.488 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001161/0.3084, allocations: 0.8627 MB / 460 MB, free: 7.586 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.019e-05/0.3085, allocations: 53.69 kB / 460.1 MB, free: 7.527 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3085, allocations: 4 kB / 460.1 MB, free: 7.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002641/0.3087, allocations: 90 kB / 460.1 MB, free: 7.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003656/0.3091, allocations: 107.8 kB / 460.3 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/0.3115, allocations: 2.981 MB / 463.2 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003041/0.3118, allocations: 39.88 kB / 463.3 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.3119, allocations: 43.97 kB / 463.3 MB, free: 3.992 MB / 334.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.0003515/0.3122, allocations: 281.5 kB / 463.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.981e-05/0.3123, allocations: 55.34 kB / 463.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001362/0.3137, allocations: 0.7315 MB / 464.4 MB, free: 2.891 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.3137, allocations: 8 kB / 464.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3137, allocations: 0 / 464.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3137, allocations: 3.984 kB / 464.4 MB, free: 2.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00221/0.3159, allocations: 1.559 MB / 465.9 MB, free: 1.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.316, allocations: 7.953 kB / 466 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.3162, allocations: 55.91 kB / 466 MB, free: 1.168 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.3165, allocations: 97.61 kB / 466.1 MB, free: 1.066 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.3165, allocations: 15.98 kB / 466.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002227/0.3188, allocations: 2.978 MB / 469.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.3188, allocations: 0 / 469.1 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001845/0.3206, allocations: 1.106 MB / 470.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002088/0.3209, allocations: 168.4 kB / 470.4 MB, free: 12.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.564e-05/0.321, allocations: 35.91 kB / 470.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.3213, allocations: 47.95 kB / 470.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.064e-05/0.3214, allocations: 35.89 kB / 470.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.424e-05/0.3214, allocations: 19.98 kB / 470.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003717/0.3218, allocations: 346.8 kB / 470.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3218, allocations: 0 / 470.8 MB, free: 11.99 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006825/0.3225, allocations: 152 kB / 471 MB, free: 11.84 MB / 350.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.0001752/0.3227, allocations: 127.7 kB / 471.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.3241, allocations: 0.8936 MB / 472 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3242, allocations: 0 / 472 MB, free: 10.78 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000831/0.325, allocations: 0.5061 MB / 472.5 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007457/0.3258, allocations: 142.2 kB / 472.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.3285, allocations: 1.87 MB / 474.5 MB, free: 8.191 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005652/0.329, allocations: 0.9721 MB / 475.5 MB, free: 7.191 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001163/0.3292, allocations: 43.42 kB / 475.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3292, allocations: 0 / 475.5 MB, free: 7.148 MB / 350.1 MB Notification: Performance of Templates: time 0.01582/0.345, allocations: 13.39 MB / 488.9 MB, free: 9.758 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Inverter.makefile make -j1 -f PowerSystems_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_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.InverterCalcHelperMain.o] Error 1