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.0008349/0.0008348, allocations: 95.34 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.0009777/0.0009778, allocations: 174.3 kB / 18.21 MB, free: 5.551 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.832/1.832, allocations: 205.4 MB / 224.4 MB, free: 13.09 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1786/0.1786, allocations: 38.05 MB / 310.7 MB, free: 5.914 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.0005527/0.0005529, allocations: 19.11 kB / 377.8 MB, free: 2.715 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3528, allocations: 56.32 MB / 434.1 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Inverter): time 0.006463/0.3593, allocations: 7.496 MB / 441.6 MB, free: 11.3 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003174/0.3625, allocations: 1.793 MB / 443.4 MB, free: 9.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.363, allocations: 51.62 kB / 443.5 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002987/0.3633, allocations: 103.2 kB / 443.6 MB, free: 9.348 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008304/0.3642, allocations: 390.3 kB / 444 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004045/0.3646, allocations: 207.7 kB / 444.2 MB, free: 8.762 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001061/0.3657, allocations: 1.644 MB / 445.8 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003879/0.3661, allocations: 324.2 kB / 446.1 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004414/0.3665, allocations: 402.1 kB / 446.5 MB, free: 6.402 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005915/0.3671, allocations: 0.5138 MB / 447 MB, free: 5.887 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.317e-05/0.3672, allocations: 32 kB / 447.1 MB, free: 5.855 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.783e-05/0.3673, allocations: 32 kB / 447.1 MB, free: 5.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.3675, allocations: 299.2 kB / 447.4 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002823/0.3678, allocations: 379.8 kB / 447.8 MB, free: 5.152 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004783/0.3683, allocations: 0.6896 MB / 448.5 MB, free: 4.461 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.3683, allocations: 8 kB / 448.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3683, allocations: 0 / 448.5 MB, free: 4.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.536e-06/0.3683, allocations: 4 kB / 448.5 MB, free: 4.449 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.001616/0.37, allocations: 1.001 MB / 449.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.37, allocations: 12.03 kB / 449.5 MB, free: 3.371 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000139/0.3702, allocations: 80 kB / 449.6 MB, free: 3.293 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007282/0.3709, allocations: 0.5766 MB / 450.1 MB, free: 2.676 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.775e-05/0.371, allocations: 120.8 kB / 450.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.3711, allocations: 68 kB / 450.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.3724, allocations: 0.8808 MB / 451.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.3725, allocations: 0 / 451.2 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.264e-05/0.3725, allocations: 28 kB / 451.2 MB, free: 1.527 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.937e-05/0.3726, allocations: 37.28 kB / 451.3 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.3737, allocations: 0.6373 MB / 451.9 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003622/0.3773, allocations: 2.774 MB / 454.7 MB, free: 13.97 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001761/0.3791, allocations: 0.9277 MB / 455.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007571/0.3798, allocations: 334.2 kB / 455.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.3799, allocations: 4.328 kB / 455.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007415/0.3806, allocations: 362.7 kB / 456.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=41): time 1.784e-06/0.3806, allocations: 0 / 456.3 MB, free: 12.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=42): time 0.004313/0.385, allocations: 2.041 MB / 458.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.245e-05/0.385, allocations: 114.8 kB / 458.4 MB, free: 9.941 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005965/0.3856, allocations: 0.5182 MB / 459 MB, free: 9.418 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.513e-05/0.3857, allocations: 41.7 kB / 459 MB, free: 9.371 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002781/0.386, allocations: 351.8 kB / 459.3 MB, free: 9.02 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.3861, allocations: 138.1 kB / 459.5 MB, free: 8.883 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.655e-05/0.3862, allocations: 61.69 kB / 459.5 MB, free: 8.816 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.3864, allocations: 366.8 kB / 459.9 MB, free: 8.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.3868, allocations: 225.1 kB / 460.1 MB, free: 8.227 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004613/0.3872, allocations: 394.2 kB / 460.5 MB, free: 7.777 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008437/0.3881, allocations: 0.621 MB / 461.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.409e-06/0.3881, allocations: 4 kB / 461.1 MB, free: 7.078 MB / 334.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001309/0.3894, allocations: 0.894 MB / 462 MB, free: 6.148 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.104e-05/0.3895, allocations: 49.69 kB / 462.1 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.435e-06/0.3895, allocations: 8 kB / 462.1 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002638/0.3898, allocations: 82 kB / 462.2 MB, free: 6 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.3902, allocations: 111.8 kB / 462.3 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.3927, allocations: 2.997 MB / 465.3 MB, free: 2.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003572/0.393, allocations: 35.97 kB / 465.3 MB, free: 2.586 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.897e-05/0.3931, allocations: 39.98 kB / 465.3 MB, free: 2.547 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,dc_ac.modulator.t0,$PRE.dc_ac.modulator.t0,dc_ac.modulator.sigdel_t,$PRE.dc_ac.modulator.sigdel_t,dc_ac.modulator.gates[4],$PRE.dc_ac.modulator.gates[4],dc_ac.modulator.gates[3],$PRE.dc_ac.modulator.gates[3],dc_ac.modulator.gates[2],$PRE.dc_ac.modulator.gates[2],dc_ac.modulator.gates[1],$PRE.dc_ac.modulator.gates[1],$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003767/0.3935, allocations: 277.5 kB / 465.6 MB, free: 2.266 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.3936, allocations: 55.25 kB / 465.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001495/0.3951, allocations: 0.7355 MB / 466.4 MB, free: 1.445 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3951, allocations: 4 kB / 466.4 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3951, allocations: 3.984 kB / 466.4 MB, free: 1.438 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.3951, allocations: 4 kB / 466.4 MB, free: 1.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002451/0.3976, allocations: 1.559 MB / 468 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.3976, allocations: 0 / 468 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002678/0.3979, allocations: 63.91 kB / 468 MB, free: 15.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002664/0.3982, allocations: 101.5 kB / 468.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.662e-05/0.3982, allocations: 19.98 kB / 468.1 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.4005, allocations: 2.977 MB / 471.1 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.4005, allocations: 4.219 kB / 471.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002028/0.4026, allocations: 1.106 MB / 472.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.4028, allocations: 172.4 kB / 472.4 MB, free: 11 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001006/0.4029, allocations: 27.98 kB / 472.4 MB, free: 10.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003739/0.4033, allocations: 43.95 kB / 472.5 MB, free: 10.93 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.4034, allocations: 39.83 kB / 472.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.389e-05/0.4034, allocations: 19.98 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003984/0.4038, allocations: 350.8 kB / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4038, allocations: 0 / 472.9 MB, free: 10.53 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006858/0.4045, allocations: 148 kB / 473 MB, free: 10.39 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001951/0.4047, allocations: 132.5 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001505/0.4062, allocations: 0.9211 MB / 474.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4063, allocations: 7.938 kB / 474.1 MB, free: 9.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008966/0.4072, allocations: 0.4945 MB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008385/0.408, allocations: 141.9 kB / 474.7 MB, free: 8.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002737/0.4108, allocations: 1.921 MB / 476.6 MB, free: 6.664 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.4114, allocations: 0.9721 MB / 477.6 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001196/0.4115, allocations: 43.44 kB / 477.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4115, allocations: 0 / 477.6 MB, free: 5.621 MB / 350.1 MB Notification: Performance of Templates: time 0.01687/0.4284, allocations: 13.38 MB / 491 MB, free: 8.234 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++ -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.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