Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008376/0.0008376, allocations: 95.28 kB / 16.96 MB, free: 6.398 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.0008125/0.0008126, allocations: 175.4 kB / 17.84 MB, free: 5.969 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.608/1.608, allocations: 205.4 MB / 224 MB, free: 13.14 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1801/0.1801, allocations: 38.04 MB / 310.3 MB, free: 6.031 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.0005186/0.0005186, allocations: 19.06 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2787, allocations: 56.33 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.005603/0.2844, allocations: 6.223 MB / 439.7 MB, free: 12.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002973/0.2874, allocations: 1.84 MB / 441.5 MB, free: 10.73 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004613/0.2879, allocations: 39.75 kB / 441.6 MB, free: 10.7 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004882/0.2884, allocations: 143 kB / 441.7 MB, free: 10.55 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000778/0.2892, allocations: 397.9 kB / 442.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000622/0.2898, allocations: 295.5 kB / 442.4 MB, free: 9.875 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000927/0.2908, allocations: 1.364 MB / 443.8 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.2911, allocations: 271.6 kB / 444 MB, free: 8.246 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.2915, allocations: 438.2 kB / 444.5 MB, free: 7.816 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005418/0.2921, allocations: 0.5063 MB / 445 MB, free: 7.309 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.975e-05/0.2922, allocations: 40 kB / 445 MB, free: 7.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/0.2923, allocations: 40 kB / 445 MB, free: 7.23 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002424/0.2925, allocations: 295.2 kB / 445.3 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001224/0.2926, allocations: 149.4 kB / 445.5 MB, free: 6.789 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004978/0.2932, allocations: 0.8065 MB / 446.3 MB, free: 5.98 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/0.2932, allocations: 3.938 kB / 446.3 MB, free: 5.977 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.2932, allocations: 7.938 kB / 446.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.808e-06/0.2932, allocations: 4 kB / 446.3 MB, free: 5.965 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001878/0.2951, allocations: 1.079 MB / 447.4 MB, free: 4.82 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.2951, allocations: 15.98 kB / 447.4 MB, free: 4.805 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001373/0.2953, allocations: 79.16 kB / 447.5 MB, free: 4.727 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009121/0.2962, allocations: 0.6189 MB / 448.1 MB, free: 4.066 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/0.2965, allocations: 350.8 kB / 448.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.416e-05/0.2966, allocations: 60 kB / 448.5 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.2984, allocations: 1.097 MB / 449.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.464e-05/0.2984, allocations: 0 / 449.6 MB, free: 2.484 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.838e-05/0.2985, allocations: 31.94 kB / 449.6 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.2985, allocations: 12 kB / 449.6 MB, free: 2.441 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002114/0.3006, allocations: 1.194 MB / 450.8 MB, free: 1.246 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.3048, allocations: 3.264 MB / 454.1 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001938/0.3067, allocations: 0.8431 MB / 454.9 MB, free: 13.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001259/0.308, allocations: 0.5851 MB / 455.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.907e-05/0.3081, allocations: 4.438 kB / 455.5 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00136/0.3094, allocations: 0.6812 MB / 456.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.394e-06/0.3094, allocations: 0 / 456.2 MB, free: 11.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.003582/0.313, allocations: 1.55 MB / 457.7 MB, free: 10.16 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.512e-05/0.3131, allocations: 148.4 kB / 457.9 MB, free: 9.988 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000423/0.3136, allocations: 393.8 kB / 458.3 MB, free: 9.594 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.3136, allocations: 37.7 kB / 458.3 MB, free: 9.551 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.3139, allocations: 300.3 kB / 458.6 MB, free: 9.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001433/0.314, allocations: 161.7 kB / 458.8 MB, free: 9.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.102e-05/0.3141, allocations: 12 kB / 458.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3142, allocations: 362.8 kB / 459.1 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009617/0.3152, allocations: 488.9 kB / 459.6 MB, free: 8.234 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001022/0.3162, allocations: 0.5874 MB / 460.2 MB, free: 7.605 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009498/0.3172, allocations: 0.4957 MB / 460.7 MB, free: 7.105 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.3172, allocations: 7.938 kB / 460.7 MB, free: 7.098 MB / 334.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002152/0.3194, allocations: 1.16 MB / 461.9 MB, free: 5.926 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.611e-05/0.3194, allocations: 49.69 kB / 461.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.3194, allocations: 4 kB / 461.9 MB, free: 5.867 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.849e-05/0.3195, allocations: 7.984 kB / 461.9 MB, free: 5.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005256/0.3247, allocations: 1.588 MB / 463.5 MB, free: 4.27 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00723/0.332, allocations: 4.832 MB / 468.3 MB, free: 15.17 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.3327, allocations: 139.4 kB / 468.5 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.3328, allocations: 31.98 kB / 468.5 MB, free: 15 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,system.initime,$PRE.inverter.modulator.gates[1],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[4],$PRE.inverter.modulator.sigdel_t,inverter.modulator.sigdel_t,$PRE.inverter.modulator.t0,inverter.modulator.t0) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004152/0.3332, allocations: 259.3 kB / 468.8 MB, free: 14.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.718e-05/0.3333, allocations: 51.38 kB / 468.8 MB, free: 14.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002465/0.3358, allocations: 1.106 MB / 469.9 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3358, allocations: 11.98 kB / 469.9 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.3358, allocations: 7.953 kB / 469.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.3358, allocations: 0 / 469.9 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.3396, allocations: 2.258 MB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.091e-06/0.3396, allocations: 4 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006185/0.3458, allocations: 1.834 MB / 474 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.285e-05/0.3458, allocations: 8 kB / 474 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.436e-05/0.3459, allocations: 15.98 kB / 474.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.055e-06/0.3459, allocations: 8 kB / 474.1 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.3459, allocations: 3.938 kB / 474.1 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003736/0.3497, allocations: 1.883 MB / 475.9 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000289/0.35, allocations: 208.3 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.3501, allocations: 24 kB / 476.2 MB, free: 7.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006179/0.3507, allocations: 119.9 kB / 476.3 MB, free: 7.055 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/0.3509, allocations: 95.78 kB / 476.4 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.148e-05/0.351, allocations: 19.98 kB / 476.4 MB, free: 6.941 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003153/0.3513, allocations: 267.1 kB / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3513, allocations: 0 / 476.7 MB, free: 6.684 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006552/0.352, allocations: 183.5 kB / 476.8 MB, free: 6.504 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (meterDC.pav,meterAC.pav,ind.i) * Number of discrete variables: 8 ($whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.sigdel_t,inverter.modulator.t0) * Number of discrete states: 6 (inverter.modulator.t0,inverter.modulator.sigdel_t,inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 45 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001934/0.3522, allocations: 131.2 kB / 477 MB, free: 6.367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.006865/0.359, allocations: 2.628 MB / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.3591, allocations: 0 / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003069/0.3621, allocations: 1.16 MB / 480.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008477/0.363, allocations: 129.5 kB / 480.9 MB, free: 2.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00358/0.3666, allocations: 1.94 MB / 482.8 MB, free: 460 kB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004747/0.3671, allocations: 0.9293 MB / 483.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002167/0.3673, allocations: 43.44 kB / 483.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3673, allocations: 0 / 483.8 MB, free: 15.45 MB / 366.1 MB Notification: Performance of Templates: time 0.01408/0.3814, allocations: 11.33 MB / 495.1 MB, free: 4.117 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad.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.InverterToLoadCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoadCalcHelperMain.o] Error 1