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.0007873/0.0007934, allocations: 94.56 kB / 17.31 MB, free: 5.656 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.000802/0.000802, allocations: 179.9 kB / 18.21 MB, free: 5.25 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.833/1.833, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1885/0.1885, allocations: 38.05 MB / 310.7 MB, free: 5.992 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.0005062/0.0005062, allocations: 23.12 kB / 377.8 MB, free: 2.789 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3108, allocations: 56.33 MB / 434.2 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.InverterToLoad): time 0.006611/0.3175, allocations: 6.574 MB / 440.7 MB, free: 12.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.3209, allocations: 1.906 MB / 442.6 MB, free: 10.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005634/0.3215, allocations: 43.69 kB / 442.7 MB, free: 10.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005289/0.3221, allocations: 115.2 kB / 442.8 MB, free: 10 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008899/0.323, allocations: 338.5 kB / 443.1 MB, free: 9.672 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005921/0.3236, allocations: 271.7 kB / 443.4 MB, free: 9.406 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001134/0.3247, allocations: 1.668 MB / 445.1 MB, free: 7.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003756/0.3251, allocations: 306.9 kB / 445.3 MB, free: 7.434 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004921/0.3256, allocations: 430.2 kB / 445.8 MB, free: 7.012 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000618/0.3262, allocations: 0.5179 MB / 446.3 MB, free: 6.492 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.079e-05/0.3263, allocations: 40 kB / 446.3 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.853e-05/0.3264, allocations: 40 kB / 446.4 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002775/0.3267, allocations: 291.2 kB / 446.7 MB, free: 6.129 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.3271, allocations: 384 kB / 447 MB, free: 5.746 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000592/0.3277, allocations: 0.8027 MB / 447.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.3277, allocations: 0 / 447.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3277, allocations: 0 / 447.8 MB, free: 4.941 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.117e-05/0.3277, allocations: 0 / 447.8 MB, free: 4.941 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.002234/0.33, allocations: 1.079 MB / 448.9 MB, free: 3.801 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.33, allocations: 11.98 kB / 448.9 MB, free: 3.789 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/0.3302, allocations: 88.09 kB / 449 MB, free: 3.703 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001059/0.3313, allocations: 0.6277 MB / 449.6 MB, free: 3.031 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003654/0.3317, allocations: 347.4 kB / 450 MB, free: 2.645 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/0.3318, allocations: 67.94 kB / 450 MB, free: 2.578 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.3337, allocations: 1.101 MB / 451.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.3338, allocations: 0 / 451.1 MB, free: 1.445 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.343e-05/0.3338, allocations: 23.98 kB / 451.2 MB, free: 1.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.3339, allocations: 16 kB / 451.2 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002392/0.3363, allocations: 1.202 MB / 452.4 MB, free: 208 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005224/0.3415, allocations: 3.268 MB / 455.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.3438, allocations: 0.8387 MB / 456.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.3452, allocations: 0.5929 MB / 457.1 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-05/0.3453, allocations: 8.422 kB / 457.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/0.3469, allocations: 0.6851 MB / 457.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 2.304e-06/0.3469, allocations: 0 / 457.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of matching and sorting (n=49): time 0.004123/0.351, allocations: 1.565 MB / 459.3 MB, free: 9.09 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001072/0.3511, allocations: 144.5 kB / 459.5 MB, free: 8.918 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.3516, allocations: 393.8 kB / 459.9 MB, free: 8.52 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.72e-05/0.3517, allocations: 37.7 kB / 459.9 MB, free: 8.477 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002483/0.352, allocations: 296.3 kB / 460.2 MB, free: 8.18 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.3521, allocations: 161.7 kB / 460.3 MB, free: 8.02 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.371e-05/0.3522, allocations: 57.69 kB / 460.4 MB, free: 7.957 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.3524, allocations: 358.8 kB / 460.8 MB, free: 7.598 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.3535, allocations: 0.4969 MB / 461.3 MB, free: 7.094 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.3547, allocations: 0.6031 MB / 461.9 MB, free: 6.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002094/0.3568, allocations: 0.9949 MB / 462.8 MB, free: 5.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.3568, allocations: 3.938 kB / 462.9 MB, free: 5.414 MB / 334.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002514/0.3593, allocations: 1.179 MB / 464 MB, free: 4.223 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.073e-05/0.3594, allocations: 57.62 kB / 464.1 MB, free: 4.16 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.3594, allocations: 4 kB / 464.1 MB, free: 4.156 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.3594, allocations: 4 kB / 464.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006445/0.3659, allocations: 1.592 MB / 465.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008207/0.3741, allocations: 4.832 MB / 470.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000891/0.3751, allocations: 139.4 kB / 470.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.3752, allocations: 31.98 kB / 470.7 MB, free: 13.29 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 (inverter.modulator.t0,$PRE.inverter.modulator.t0,inverter.modulator.sigdel_t,$PRE.inverter.modulator.sigdel_t,inverter.modulator.gates[4],$PRE.inverter.modulator.gates[4],inverter.modulator.gates[3],$PRE.inverter.modulator.gates[3],inverter.modulator.gates[2],$PRE.inverter.modulator.gates[2],inverter.modulator.gates[1],$PRE.inverter.modulator.gates[1],system.initime,$whenCondition1) * 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 (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005556/0.3758, allocations: 259.3 kB / 470.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.3759, allocations: 47.44 kB / 471 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003006/0.379, allocations: 1.114 MB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.158e-06/0.379, allocations: 4 kB / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.625e-06/0.379, allocations: 0 / 472.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.379, allocations: 11.92 kB / 472.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004611/0.3836, allocations: 2.242 MB / 474.4 MB, free: 9.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.3837, allocations: 4 kB / 474.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007797/0.3915, allocations: 1.846 MB / 476.2 MB, free: 7.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.386e-05/0.3915, allocations: 4 kB / 476.2 MB, free: 7.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.898e-05/0.3916, allocations: 15.98 kB / 476.2 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.287e-06/0.3916, allocations: 4 kB / 476.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.3916, allocations: 7.938 kB / 476.2 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004593/0.3962, allocations: 1.879 MB / 478.1 MB, free: 5.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.3966, allocations: 204.4 kB / 478.3 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001463/0.3968, allocations: 27.98 kB / 478.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007912/0.3976, allocations: 123.9 kB / 478.5 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002391/0.3978, allocations: 95.78 kB / 478.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.072e-05/0.3979, allocations: 19.98 kB / 478.6 MB, free: 5.242 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003758/0.3983, allocations: 267.1 kB / 478.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.3983, allocations: 0 / 478.8 MB, free: 4.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0007736/0.399, allocations: 179.5 kB / 479 MB, free: 4.809 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002368/0.3993, allocations: 139 kB / 479.2 MB, free: 4.664 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00852/0.4078, allocations: 2.644 MB / 481.8 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.063e-06/0.4079, allocations: 0 / 481.8 MB, free: 2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003903/0.4118, allocations: 1.171 MB / 483 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.4129, allocations: 129.6 kB / 483.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004586/0.4175, allocations: 1.969 MB / 485.1 MB, free: 14.68 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007035/0.4182, allocations: 0.9332 MB / 486 MB, free: 13.72 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.4185, allocations: 43.42 kB / 486 MB, free: 13.68 MB / 366.1 MB Notification: Performance of SimCode: time 9.22e-07/0.4185, allocations: 4 kB / 486 MB, free: 13.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01923/0.4378, allocations: 11.31 MB / 497.4 MB, free: 2.355 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++ -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.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