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.0008032/0.0008032, allocations: 93.53 kB / 16.95 MB, free: 6.453 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.0007926/0.0007925, allocations: 179.2 kB / 17.84 MB, free: 6 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.58/1.58, 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.17/0.17, allocations: 38.05 MB / 310.3 MB, free: 6.027 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.0005142/0.0005143, allocations: 12 kB / 377.1 MB, free: 3.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.2764, allocations: 56.34 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.InverterToLoad): time 0.006425/0.2828, allocations: 6.703 MB / 440.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004274/0.2872, allocations: 2.647 MB / 442.8 MB, free: 9.43 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000605/0.2878, allocations: 39.75 kB / 442.9 MB, free: 9.391 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004941/0.2883, allocations: 178.7 kB / 443 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.2896, allocations: 0.5951 MB / 443.6 MB, free: 8.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001049/0.2906, allocations: 435.3 kB / 444.1 MB, free: 8.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001413/0.2921, allocations: 2.011 MB / 446.1 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009802/0.2931, allocations: 0.8436 MB / 446.9 MB, free: 5.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007114/0.2938, allocations: 0.6346 MB / 447.6 MB, free: 4.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009626/0.2948, allocations: 0.9157 MB / 448.5 MB, free: 3.742 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.2949, allocations: 68 kB / 448.5 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008134/0.2957, allocations: 0.546 MB / 449.1 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004275/0.2961, allocations: 0.5612 MB / 449.6 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002447/0.2964, allocations: 229.2 kB / 449.9 MB, free: 2.336 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001053/0.2975, allocations: 1.539 MB / 451.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.2975, allocations: 0 / 451.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.2975, allocations: 0 / 451.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.082e-05/0.2975, allocations: 0 / 451.4 MB, free: 0.793 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.003777/0.3013, allocations: 1.721 MB / 453.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.3013, allocations: 12.03 kB / 453.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000713/0.3021, allocations: 158.6 kB / 453.3 MB, free: 14.82 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001978/0.304, allocations: 0.9195 MB / 454.2 MB, free: 13.86 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000604/0.3047, allocations: 0.5218 MB / 454.7 MB, free: 13.26 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.3049, allocations: 92 kB / 454.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003919/0.3088, allocations: 2.112 MB / 456.9 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.3089, allocations: 3.953 kB / 456.9 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001279/0.309, allocations: 35.98 kB / 457 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000192/0.3092, allocations: 89.95 kB / 457.1 MB, free: 10.89 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004715/0.3139, allocations: 2.408 MB / 459.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009022/0.323, allocations: 5.769 MB / 465.2 MB, free: 2.602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004293/0.3273, allocations: 1.941 MB / 467.2 MB, free: 0.6289 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002468/0.3298, allocations: 1.253 MB / 468.4 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.3299, allocations: 17 kB / 468.5 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002807/0.3328, allocations: 1.485 MB / 469.9 MB, free: 13.85 MB / 350.1 MB Notification: Performance of pre-optimization done (n=123): time 5.33e-06/0.3328, allocations: 7.984 kB / 469.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=124): time 0.01293/0.3457, allocations: 6.106 MB / 476.1 MB, free: 7.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.3459, allocations: 106 kB / 476.2 MB, free: 7.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006416/0.3465, allocations: 497.9 kB / 476.6 MB, free: 7.062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.3466, allocations: 53.7 kB / 476.7 MB, free: 7.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.3469, allocations: 364.7 kB / 477.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/0.3473, allocations: 418.1 kB / 477.5 MB, free: 6.227 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-05/0.3474, allocations: 20 kB / 477.5 MB, free: 6.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.3476, allocations: 394.7 kB / 477.9 MB, free: 5.812 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001922/0.3496, allocations: 1.08 MB / 478.9 MB, free: 4.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002058/0.3516, allocations: 1.231 MB / 480.2 MB, free: 3.465 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002043/0.3537, allocations: 1.124 MB / 481.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.3537, allocations: 0 / 481.3 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.01037/0.3641, allocations: 4.368 MB / 485.7 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001272/0.3642, allocations: 61.67 kB / 485.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.3643, allocations: 4 kB / 485.7 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005608/0.3699, allocations: 2.225 MB / 488 MB, free: 11.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.3709, allocations: 187.7 kB / 488.1 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02379/0.3947, allocations: 11.64 MB / 499.8 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.3961, allocations: 203.8 kB / 500 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001539/0.3963, allocations: 75.88 kB / 0.4883 GB, free: 15.41 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 ($whenCondition3,$whenCondition2,$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.gates[5],inverter.modulator.gates[5],$PRE.inverter.modulator.gates[6],inverter.modulator.gates[6],$PRE.inverter.modulator.sigdel_t[1],inverter.modulator.sigdel_t[1],$PRE.inverter.modulator.sigdel_t[2],inverter.modulator.sigdel_t[2],$PRE.inverter.modulator.sigdel_t[3],inverter.modulator.sigdel_t[3],$PRE.inverter.modulator.t0[1],inverter.modulator.t0[1],$PRE.inverter.modulator.t0[2],inverter.modulator.t0[2],$PRE.inverter.modulator.t0[3],inverter.modulator.t0[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 101 * Array equations: 3 * Algorithm blocks: 7 * 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 {6 21} Notification: Performance of prepare postOptimizeDAE: time 0.0007246/0.397, allocations: 381.4 kB / 0.4887 GB, free: 15.03 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.3973, allocations: 82.97 kB / 0.4888 GB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005286/0.4025, allocations: 2.564 MB / 0.4913 GB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.399e-05/0.4026, allocations: 23.94 kB / 0.4913 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.4026, allocations: 128 / 0.4913 GB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/0.4026, allocations: 11.97 kB / 0.4913 GB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007652/0.4103, allocations: 4.297 MB / 0.4955 GB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.447e-06/0.4103, allocations: 8.031 kB / 0.4955 GB, free: 7.949 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01004/0.4204, allocations: 2.856 MB / 0.4983 GB, free: 5.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/0.4205, allocations: 4 kB / 0.4983 GB, free: 5.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/0.4207, allocations: 35.97 kB / 0.4983 GB, free: 5.051 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.988e-06/0.4207, allocations: 8 kB / 0.4984 GB, free: 5.043 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.4207, allocations: 8 kB / 0.4984 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007836/0.4286, allocations: 4.134 MB / 0.5024 GB, free: 0.8555 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007138/0.4293, allocations: 351.8 kB / 0.5027 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002418/0.4296, allocations: 79.95 kB / 0.5028 GB, free: 424 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001266/0.4308, allocations: 247.7 kB / 0.503 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004193/0.4313, allocations: 188.8 kB / 0.5032 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001071/0.4314, allocations: 39.92 kB / 0.5033 GB, free: 15.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004614/0.4318, allocations: 342.8 kB / 0.5036 GB, free: 15.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4318, allocations: 0 / 0.5036 GB, free: 15.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001213/0.4331, allocations: 364 kB / 0.5039 GB, free: 15.26 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 (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.0003479/0.4334, allocations: 196.7 kB / 0.5041 GB, free: 15.05 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00675/0.4402, allocations: 3.83 MB / 0.5079 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4402, allocations: 0 / 0.5079 GB, free: 11.13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005678/0.4459, allocations: 2.231 MB / 0.51 GB, free: 8.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.4471, allocations: 174.5 kB / 0.5102 GB, free: 8.727 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00724/0.4543, allocations: 3.94 MB / 0.5141 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008532/0.4552, allocations: 1.144 MB / 0.5152 GB, free: 3.555 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/0.4558, allocations: 71.42 kB / 0.5152 GB, free: 3.484 MB / 398.1 MB Notification: Performance of SimCode: time 1.152e-06/0.4558, allocations: 0 / 0.5152 GB, free: 3.484 MB / 398.1 MB Notification: Performance of Templates: time 0.2437/0.6994, allocations: 20.79 MB / 0.5355 GB, free: 81.86 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++ 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.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