Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.0009563, allocations: 92.77 kB / 17.31 MB, free: 5.664 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.001046/0.001046, allocations: 176.6 kB / 18.21 MB, free: 5.242 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.868/1.868, allocations: 205.4 MB / 224.4 MB, free: 13.07 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.2079/0.2079, 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.00055/0.0005499, allocations: 16.42 kB / 377.8 MB, free: 2.719 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3543, allocations: 56.33 MB / 434.1 MB, free: 18.68 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.006501/0.3608, allocations: 6.648 MB / 440.8 MB, free: 12 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0032/0.3641, allocations: 1.707 MB / 442.5 MB, free: 10.28 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000872/0.365, allocations: 35.75 kB / 442.5 MB, free: 10.25 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006272/0.3656, allocations: 119.2 kB / 442.7 MB, free: 10.13 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00115/0.3668, allocations: 390.4 kB / 443 MB, free: 9.746 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005243/0.3673, allocations: 163.8 kB / 443.2 MB, free: 9.586 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001502/0.3688, allocations: 1.621 MB / 444.8 MB, free: 7.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.3692, allocations: 283 kB / 445.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006303/0.3699, allocations: 370.3 kB / 445.5 MB, free: 7.32 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006437/0.3705, allocations: 0.5179 MB / 446 MB, free: 6.801 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.873e-05/0.3706, allocations: 32 kB / 446 MB, free: 6.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.162e-05/0.3707, allocations: 32 kB / 446 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002074/0.3709, allocations: 279.2 kB / 446.3 MB, free: 6.465 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002626/0.3712, allocations: 344 kB / 446.6 MB, free: 6.121 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004439/0.3716, allocations: 0.6429 MB / 447.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3717, allocations: 0 / 447.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.414e-06/0.3717, allocations: 0 / 447.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.707e-06/0.3717, allocations: 0 / 447.3 MB, free: 5.477 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.00164/0.3733, allocations: 0.9063 MB / 448.2 MB, free: 4.52 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.3734, allocations: 8.031 kB / 448.2 MB, free: 4.512 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001265/0.3735, allocations: 72.09 kB / 448.3 MB, free: 4.441 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007705/0.3743, allocations: 0.5496 MB / 448.8 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.3744, allocations: 124.8 kB / 448.9 MB, free: 3.715 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.668e-05/0.3745, allocations: 56 kB / 449 MB, free: 3.66 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.3757, allocations: 0.7889 MB / 449.8 MB, free: 2.84 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.3757, allocations: 7.938 kB / 449.8 MB, free: 2.832 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.3758, allocations: 20 kB / 449.8 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/0.3759, allocations: 32.97 kB / 449.8 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001196/0.3771, allocations: 0.7611 MB / 450.6 MB, free: 2.02 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003218/0.3803, allocations: 2.628 MB / 453.2 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.3819, allocations: 0.8478 MB / 454.1 MB, free: 14.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.3826, allocations: 423.4 kB / 454.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.347e-05/0.3827, allocations: 4.438 kB / 454.5 MB, free: 13.98 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.595e-05/0.3827, allocations: 39 kB / 454.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.804e-06/0.3827, allocations: 4 kB / 454.5 MB, free: 13.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.004219/0.387, allocations: 2.217 MB / 456.8 MB, free: 11.6 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.387, allocations: 89.53 kB / 456.8 MB, free: 11.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004377/0.3875, allocations: 393.9 kB / 457.2 MB, free: 11.11 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.712e-05/0.3876, allocations: 37.7 kB / 457.3 MB, free: 11.06 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000214/0.3878, allocations: 288.4 kB / 457.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.3879, allocations: 185.4 kB / 457.7 MB, free: 10.59 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.586e-05/0.388, allocations: 49.69 kB / 457.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3882, allocations: 366.7 kB / 458.1 MB, free: 10.17 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.3888, allocations: 292.9 kB / 458.4 MB, free: 9.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006309/0.3894, allocations: 397.1 kB / 458.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001188/0.3906, allocations: 0.6889 MB / 459.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3906, allocations: 0 / 459.5 MB, free: 8.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001571/0.3922, allocations: 0.9071 MB / 460.4 MB, free: 7.789 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.3922, allocations: 4 kB / 460.4 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/0.3922, allocations: 8.156 kB / 460.4 MB, free: 7.777 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002563/0.3925, allocations: 73.67 kB / 460.5 MB, free: 7.699 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001581/0.3941, allocations: 395.5 kB / 460.9 MB, free: 7.312 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006233/0.4003, allocations: 6.182 MB / 467.1 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004564/0.4008, allocations: 52.11 kB / 467.1 MB, free: 0.543 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.4009, allocations: 20 kB / 467.1 MB, free: 0.5234 MB / 334.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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * 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: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004118/0.4013, allocations: 233.7 kB / 467.4 MB, free: 292 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.781e-05/0.4014, allocations: 47.44 kB / 467.4 MB, free: 244 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00163/0.403, allocations: 0.8593 MB / 468.3 MB, free: 15.35 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/0.403, allocations: 7.984 kB / 468.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.4031, allocations: 4 kB / 468.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.62e-06/0.4031, allocations: 0 / 468.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002841/0.4059, allocations: 1.723 MB / 470 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.4059, allocations: 4.031 kB / 470 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001776/0.4077, allocations: 427.5 kB / 470.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.408, allocations: 89.62 kB / 470.5 MB, free: 13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.972e-05/0.408, allocations: 12 kB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.4105, allocations: 2.895 MB / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.4105, allocations: 0 / 473.4 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002237/0.4127, allocations: 1.367 MB / 474.8 MB, free: 8.391 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001307/0.4129, allocations: 128.5 kB / 474.9 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.309e-05/0.413, allocations: 16 kB / 474.9 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003487/0.4133, allocations: 43.95 kB / 475 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.4135, allocations: 47.88 kB / 475 MB, free: 8.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.628e-05/0.4135, allocations: 23.98 kB / 475 MB, free: 8.117 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003251/0.4138, allocations: 279.1 kB / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.4138, allocations: 0 / 475.3 MB, free: 7.848 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000677/0.4145, allocations: 144 kB / 475.4 MB, free: 7.707 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (ind.i[1],ind.i[2],meterAC.pav,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 (51): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001694/0.4147, allocations: 119.1 kB / 475.6 MB, free: 7.578 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002861/0.4176, allocations: 1.195 MB / 476.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4176, allocations: 4.062 kB / 476.8 MB, free: 6.355 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002085/0.4197, allocations: 0.8952 MB / 477.7 MB, free: 5.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008443/0.4205, allocations: 137.5 kB / 477.8 MB, free: 5.297 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003349/0.4239, allocations: 1.963 MB / 479.8 MB, free: 3.285 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005963/0.4245, allocations: 0.9408 MB / 480.7 MB, free: 2.316 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001567/0.4247, allocations: 43.44 kB / 480.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4247, allocations: 0 / 480.7 MB, free: 2.273 MB / 350.1 MB Notification: Performance of Templates: time 0.02003/0.4447, allocations: 16.64 MB / 497.4 MB, free: 1.625 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.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.AC1ph_DC.Inverters.RectifierCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Inverters.RectifierCalcHelperMain.o] Error 1