Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Inverters.Rectifier,tolerance=1e-05,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009895/0.0009895, allocations: 93.47 kB / 17.31 MB, free: 6.535 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.001135/0.001135, allocations: 175.4 kB / 18.21 MB, free: 5.684 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.786/1.786, allocations: 205.4 MB / 224.4 MB, free: 13.06 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2029/0.2029, allocations: 38.06 MB / 310.7 MB, free: 5.906 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.000555/0.0005551, allocations: 20 kB / 377.8 MB, free: 2.711 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3044, allocations: 56.33 MB / 434.1 MB, free: 18.69 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Inverters.Rectifier): time 0.006425/0.3109, allocations: 7.077 MB / 441.2 MB, free: 11.58 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004684/0.3156, allocations: 2.408 MB / 443.6 MB, free: 9.164 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006319/0.3163, allocations: 39.69 kB / 443.7 MB, free: 9.125 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.3169, allocations: 135.1 kB / 443.8 MB, free: 8.992 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00128/0.3182, allocations: 0.5175 MB / 444.3 MB, free: 8.473 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008089/0.319, allocations: 319.5 kB / 444.6 MB, free: 8.16 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3204, allocations: 1.84 MB / 446.5 MB, free: 6.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001309/0.3217, allocations: 0.9495 MB / 447.4 MB, free: 5.328 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006563/0.3224, allocations: 442 kB / 447.9 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008635/0.3233, allocations: 0.705 MB / 448.6 MB, free: 4.188 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.911e-05/0.3234, allocations: 48 kB / 448.6 MB, free: 4.141 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001036/0.3244, allocations: 0.6044 MB / 449.2 MB, free: 3.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003678/0.3248, allocations: 418.9 kB / 449.6 MB, free: 3.125 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000432/0.3253, allocations: 487.4 kB / 450.1 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008305/0.3261, allocations: 1.146 MB / 451.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3261, allocations: 0 / 451.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.3261, allocations: 0 / 451.2 MB, free: 1.492 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.07e-05/0.3261, allocations: 4 kB / 451.2 MB, free: 1.488 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.002427/0.3286, allocations: 1.227 MB / 452.5 MB, free: 212 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.3286, allocations: 8.031 kB / 452.5 MB, free: 204 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006901/0.3293, allocations: 139.8 kB / 452.6 MB, free: 64 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001155/0.3305, allocations: 0.6531 MB / 453.3 MB, free: 15.37 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000237/0.3307, allocations: 179.6 kB / 453.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.3309, allocations: 91.84 kB / 453.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.3332, allocations: 1.434 MB / 455 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.616e-05/0.3333, allocations: 0 / 455 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.81e-05/0.3334, allocations: 32 kB / 455 MB, free: 13.58 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002076/0.3336, allocations: 81.95 kB / 455.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002659/0.3363, allocations: 1.573 MB / 456.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006822/0.3431, allocations: 4.466 MB / 461.1 MB, free: 7.336 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00234/0.3455, allocations: 1.251 MB / 462.4 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001299/0.3468, allocations: 0.8046 MB / 463.2 MB, free: 5.258 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.163e-05/0.3469, allocations: 12.64 kB / 463.2 MB, free: 5.242 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.3469, allocations: 43.22 kB / 463.2 MB, free: 5.191 MB / 334.1 MB Notification: Performance of pre-optimization done (n=101): time 5.22e-06/0.3469, allocations: 3.984 kB / 463.2 MB, free: 5.188 MB / 334.1 MB Notification: Performance of matching and sorting (n=102): time 0.007134/0.3541, allocations: 3.975 MB / 467.2 MB, free: 1.117 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.388e-05/0.3542, allocations: 94.09 kB / 467.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004788/0.3547, allocations: 401.8 kB / 467.7 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.883e-05/0.3547, allocations: 41.7 kB / 467.7 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002477/0.355, allocations: 352.2 kB / 468.1 MB, free: 216 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003104/0.3553, allocations: 343.1 kB / 468.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.3554, allocations: 81.67 kB / 468.5 MB, free: 15.78 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001896/0.3556, allocations: 378.8 kB / 468.9 MB, free: 15.4 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001085/0.3567, allocations: 0.6226 MB / 469.5 MB, free: 14.78 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001163/0.3579, allocations: 0.7659 MB / 470.2 MB, free: 13.96 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00231/0.3602, allocations: 1.442 MB / 471.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3602, allocations: 0 / 471.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002921/0.3632, allocations: 1.654 MB / 473.3 MB, free: 10.8 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.3632, allocations: 8 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.415e-05/0.3632, allocations: 4 kB / 473.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.3634, allocations: 44.97 kB / 473.4 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002588/0.366, allocations: 0.6282 MB / 474 MB, free: 10.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006815/0.3729, allocations: 6.403 MB / 480.4 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009861/0.3739, allocations: 91.98 kB / 480.5 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.093e-05/0.374, allocations: 35.98 kB / 480.6 MB, free: 3.055 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (104): * Single equations (assignments): 97 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006071/0.3746, allocations: 317.5 kB / 480.9 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/0.3748, allocations: 67.17 kB / 480.9 MB, free: 2.668 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003035/0.3779, allocations: 1.647 MB / 482.6 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-05/0.3779, allocations: 24 kB / 482.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.378, allocations: 0 / 482.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.378, allocations: 11.97 kB / 482.6 MB, free: 0.957 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005061/0.383, allocations: 2.916 MB / 485.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.406e-06/0.3831, allocations: 0 / 485.5 MB, free: 13.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003011/0.3861, allocations: 0.683 MB / 486.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001468/0.3863, allocations: 40.83 kB / 486.3 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-05/0.3864, allocations: 20 kB / 486.3 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001416/0.3878, allocations: 1.482 MB / 487.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.3878, allocations: 0 / 487.8 MB, free: 11.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004685/0.3925, allocations: 2.616 MB / 490.4 MB, free: 8.898 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003221/0.3929, allocations: 136.3 kB / 490.5 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/0.3931, allocations: 27.98 kB / 490.5 MB, free: 8.719 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007223/0.3938, allocations: 79.91 kB / 490.6 MB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000254/0.3941, allocations: 80.42 kB / 490.7 MB, free: 8.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.099e-05/0.3942, allocations: 24 kB / 490.7 MB, free: 8.535 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003865/0.3946, allocations: 279.1 kB / 491 MB, free: 8.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3946, allocations: 0 / 491 MB, free: 8.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001144/0.3957, allocations: 243.9 kB / 491.2 MB, free: 8.023 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 7 (ind.i[1],ind.i[2],ind.i[3],meterAC.pav[1],meterAC.pav[2],meterAC.pav[3],meterDC.pav) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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): 1 system {(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.0004702/0.3962, allocations: 167.1 kB / 491.4 MB, free: 7.848 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004972/0.4012, allocations: 2.005 MB / 493.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/0.4012, allocations: 0 / 493.4 MB, free: 5.836 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003379/0.4046, allocations: 1.327 MB / 494.7 MB, free: 4.5 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001391/0.406, allocations: 161.6 kB / 494.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006214/0.4123, allocations: 3.17 MB / 498 MB, free: 1.117 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009891/0.4133, allocations: 1.083 MB / 499.1 MB, free: 8 kB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/0.4138, allocations: 67.42 kB / 499.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of SimCode: time 1.042e-06/0.4138, allocations: 0 / 499.2 MB, free: 15.95 MB / 382.1 MB Notification: Performance of Templates: time 0.0362/0.45, allocations: 23.77 MB / 0.5107 GB, free: 8.121 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Inverters.Rectifier.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.RectifierCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Inverters.RectifierCalcHelperMain.o] Error 1