Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") translateModel(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008447/0.0008447, allocations: 98.78 kB / 17.31 MB, free: 6.391 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.001293/0.001293, allocations: 176.2 kB / 18.21 MB, free: 5.555 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.804/1.804, 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.2094/0.2094, allocations: 38.05 MB / 310.7 MB, free: 5.922 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.000568/0.0005681, allocations: 19.28 kB / 377.8 MB, free: 2.727 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.348, allocations: 56.33 MB / 434.1 MB, free: 18.7 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.006794/0.3548, allocations: 7.088 MB / 441.2 MB, free: 11.57 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004393/0.3592, allocations: 2.786 MB / 444 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005417/0.3598, allocations: 47.69 kB / 444.1 MB, free: 8.73 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004694/0.3603, allocations: 139.1 kB / 444.2 MB, free: 8.594 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001051/0.3614, allocations: 0.5526 MB / 444.8 MB, free: 8.039 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007991/0.3622, allocations: 439.4 kB / 445.2 MB, free: 7.609 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001543/0.3637, allocations: 2.444 MB / 447.6 MB, free: 5.16 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.3648, allocations: 0.9517 MB / 448.6 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006515/0.3654, allocations: 0.6189 MB / 449.2 MB, free: 3.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009628/0.3664, allocations: 0.9154 MB / 450.1 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3665, allocations: 68 kB / 450.2 MB, free: 2.559 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008425/0.3674, allocations: 0.6122 MB / 450.8 MB, free: 1.945 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004214/0.3678, allocations: 0.5493 MB / 451.3 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004689/0.3683, allocations: 0.6005 MB / 451.9 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001226/0.3695, allocations: 1.532 MB / 453.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.3695, allocations: 0 / 453.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3695, allocations: 4 kB / 453.5 MB, free: 15.25 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.21e-05/0.3696, allocations: 4 kB / 453.5 MB, free: 15.24 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.004191/0.3738, allocations: 1.705 MB / 455.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.3738, allocations: 8.031 kB / 455.2 MB, free: 13.45 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007139/0.3745, allocations: 167.6 kB / 455.4 MB, free: 13.28 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002019/0.3766, allocations: 0.9362 MB / 456.3 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000679/0.3773, allocations: 0.5145 MB / 456.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/0.3775, allocations: 99.92 kB / 456.9 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004164/0.3817, allocations: 2.112 MB / 459 MB, free: 9.461 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.3818, allocations: 7.938 kB / 459 MB, free: 9.453 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.3819, allocations: 39.98 kB / 459.1 MB, free: 9.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002082/0.3821, allocations: 89.94 kB / 459.2 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005025/0.3872, allocations: 2.412 MB / 461.6 MB, free: 6.914 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009672/0.3969, allocations: 5.777 MB / 467.3 MB, free: 1.031 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004872/0.4018, allocations: 1.941 MB / 469.3 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002762/0.4046, allocations: 1.254 MB / 470.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.489e-05/0.4047, allocations: 20.98 kB / 470.6 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003163/0.4078, allocations: 1.485 MB / 472 MB, free: 12.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=123): time 3.327e-06/0.4079, allocations: 0 / 472 MB, free: 12.27 MB / 350.1 MB Notification: Performance of matching and sorting (n=124): time 0.01468/0.4225, allocations: 6.126 MB / 478.2 MB, free: 6.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.624e-05/0.4227, allocations: 98.11 kB / 478.3 MB, free: 5.973 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007293/0.4234, allocations: 0.4902 MB / 478.8 MB, free: 5.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.4236, allocations: 57.7 kB / 478.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003896/0.424, allocations: 364.7 kB / 479.2 MB, free: 5.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004245/0.4244, allocations: 418 kB / 479.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/0.4246, allocations: 109.7 kB / 479.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.4248, allocations: 402.8 kB / 480.1 MB, free: 4.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002206/0.427, allocations: 1.096 MB / 481.2 MB, free: 3.02 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.4294, allocations: 1.258 MB / 482.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004392/0.4338, allocations: 2.192 MB / 484.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.4338, allocations: 0 / 484.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01211/0.4459, allocations: 4.407 MB / 489 MB, free: 11.06 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/0.4461, allocations: 69.61 kB / 489.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.4461, allocations: 4 kB / 489.1 MB, free: 10.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006365/0.4525, allocations: 2.221 MB / 491.3 MB, free: 8.758 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001039/0.4535, allocations: 195.7 kB / 491.5 MB, free: 8.566 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02762/0.4812, allocations: 11.64 MB / 0.4914 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4829, allocations: 207.8 kB / 0.4916 GB, free: 12.59 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004/0.4833, allocations: 71.94 kB / 0.4916 GB, free: 12.52 MB / 382.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: 28 (inverter.modulator.t0[3],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[1],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.gates[6],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[5],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,$whenCondition2,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 1 * 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 {(6,21)} Notification: Performance of prepare postOptimizeDAE: time 0.001076/0.4844, allocations: 377.4 kB / 0.492 GB, free: 12.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004002/0.4848, allocations: 90.92 kB / 0.4921 GB, free: 12.05 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006608/0.4914, allocations: 2.564 MB / 0.4946 GB, free: 9.469 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.191e-05/0.4915, allocations: 28 kB / 0.4946 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.4915, allocations: 128 / 0.4946 GB, free: 9.441 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.4915, allocations: 7.969 kB / 0.4946 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009404/0.501, allocations: 4.293 MB / 0.4988 GB, free: 5.059 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.274e-05/0.501, allocations: 4 kB / 0.4988 GB, free: 5.055 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0122/0.5132, allocations: 2.861 MB / 0.5016 GB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.798e-05/0.5133, allocations: 8 kB / 0.5016 GB, free: 2.184 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003693/0.5137, allocations: 35.95 kB / 0.5016 GB, free: 2.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.556e-05/0.5137, allocations: 4 kB / 0.5017 GB, free: 2.145 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.5137, allocations: 11.88 kB / 0.5017 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009846/0.5236, allocations: 4.158 MB / 0.5057 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007883/0.5244, allocations: 336 kB / 0.506 GB, free: 13.58 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003659/0.5248, allocations: 87.94 kB / 0.5061 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/0.5264, allocations: 243.7 kB / 0.5064 GB, free: 13.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004583/0.5268, allocations: 188.8 kB / 0.5065 GB, free: 13.07 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/0.527, allocations: 43.97 kB / 0.5066 GB, free: 13.03 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006072/0.5276, allocations: 350.8 kB / 0.5069 GB, free: 12.68 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5276, allocations: 0 / 0.5069 GB, free: 12.68 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001675/0.5293, allocations: 351.9 kB / 0.5073 GB, free: 12.34 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (meterDC.pav,meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],pqLoad.psi[1],pqLoad.psi[2],pqLoad.psi[3],pqLoad.Z[1],pqLoad.Z[2]) * Number of discrete variables: 16 ($whenCondition3,$whenCondition2,$whenCondition1,system.initime,inverter.modulator.gates[1],inverter.modulator.gates[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[3],inverter.modulator.t0[1],inverter.modulator.t0[2],inverter.modulator.t0[3]) * Number of discrete states: 12 (inverter.modulator.t0[3],inverter.modulator.sigdel_t[3],inverter.modulator.gates[5],inverter.modulator.gates[6],inverter.modulator.t0[2],inverter.modulator.sigdel_t[2],inverter.modulator.gates[3],inverter.modulator.gates[4],inverter.modulator.t0[1],inverter.modulator.sigdel_t[1],inverter.modulator.gates[1],inverter.modulator.gates[2]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 96 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.0005676/0.5299, allocations: 224.7 kB / 0.5075 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007506/0.5374, allocations: 3.15 MB / 0.5105 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/0.5375, allocations: 0 / 0.5105 GB, free: 8.938 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006979/0.5444, allocations: 2.235 MB / 0.5127 GB, free: 6.703 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001614/0.5461, allocations: 178.1 kB / 0.5129 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008709/0.5548, allocations: 4.023 MB / 0.5168 GB, free: 2.449 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001162/0.556, allocations: 1.144 MB / 0.5179 GB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.5566, allocations: 79.41 kB / 0.518 GB, free: 1.203 MB / 398.1 MB Notification: Performance of SimCode: time 1.142e-06/0.5566, allocations: 0 / 0.518 GB, free: 1.203 MB / 398.1 MB Notification: Performance of Templates: time 0.3019/0.8584, allocations: 18.93 MB / 0.5365 GB, free: 80.02 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoad.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Inverters.InverterToLoadCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.InverterToLoadCalcHelperMain.o] Error 1