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.0009668/0.0009668, allocations: 95.45 kB / 16.96 MB, free: 5.562 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.00131/0.00131, allocations: 189 kB / 17.85 MB, free: 5.227 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.522/1.522, allocations: 205.4 MB / 224 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.1753/0.1753, allocations: 38.04 MB / 310.3 MB, free: 6.023 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.0007193/0.0007194, allocations: 19.06 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2927, allocations: 56.34 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Inverters.Rectifier): time 0.00561/0.2984, allocations: 6.29 MB / 439.8 MB, free: 12.52 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.3004, allocations: 1.638 MB / 441.4 MB, free: 10.87 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002735/0.3007, allocations: 35.75 kB / 441.4 MB, free: 10.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004132/0.3011, allocations: 147 kB / 441.6 MB, free: 10.69 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006054/0.3017, allocations: 437.9 kB / 442 MB, free: 10.26 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.3021, allocations: 187.7 kB / 442.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008276/0.3029, allocations: 1.281 MB / 443.5 MB, free: 8.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002947/0.3032, allocations: 251.5 kB / 443.7 MB, free: 8.547 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003637/0.3036, allocations: 382.3 kB / 444.1 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005547/0.3041, allocations: 0.5062 MB / 444.6 MB, free: 7.664 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.61e-05/0.3042, allocations: 32 kB / 444.6 MB, free: 7.633 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.741e-05/0.3043, allocations: 32 kB / 444.7 MB, free: 7.602 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002012/0.3045, allocations: 275.3 kB / 444.9 MB, free: 7.332 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.3046, allocations: 145.4 kB / 445.1 MB, free: 7.184 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000394/0.305, allocations: 0.6429 MB / 445.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.305, allocations: 0 / 445.7 MB, free: 6.539 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.305, allocations: 4 kB / 445.7 MB, free: 6.535 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.854e-06/0.305, allocations: 0 / 445.7 MB, free: 6.535 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.001424/0.3065, allocations: 0.8983 MB / 446.6 MB, free: 5.586 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.3065, allocations: 12.03 kB / 446.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.3066, allocations: 79.11 kB / 446.7 MB, free: 5.496 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006925/0.3073, allocations: 0.5291 MB / 447.2 MB, free: 4.926 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001311/0.3075, allocations: 120.7 kB / 447.4 MB, free: 4.793 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-05/0.3076, allocations: 55.91 kB / 447.4 MB, free: 4.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3086, allocations: 0.785 MB / 448.2 MB, free: 3.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.493e-05/0.3086, allocations: 4 kB / 448.2 MB, free: 3.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.834e-05/0.3087, allocations: 20 kB / 448.2 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.251e-05/0.3088, allocations: 44.92 kB / 448.3 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001118/0.3099, allocations: 0.7494 MB / 449 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002791/0.3127, allocations: 2.632 MB / 451.6 MB, free: 380 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.3141, allocations: 0.8439 MB / 452.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006539/0.3148, allocations: 415.4 kB / 452.9 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.016e-05/0.3149, allocations: 12.42 kB / 452.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.308e-05/0.3149, allocations: 39 kB / 452.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of pre-optimization done (n=50): time 1.753e-06/0.3149, allocations: 0 / 452.9 MB, free: 15.02 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.003997/0.3189, allocations: 2.213 MB / 455.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.202e-05/0.319, allocations: 81.55 kB / 455.2 MB, free: 12.59 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.3194, allocations: 401.9 kB / 455.6 MB, free: 12.2 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.503e-05/0.3195, allocations: 33.7 kB / 455.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.3197, allocations: 284.5 kB / 455.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001397/0.3199, allocations: 185.4 kB / 456.1 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.3199, allocations: 12 kB / 456.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001729/0.3201, allocations: 358.8 kB / 456.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.3206, allocations: 288.9 kB / 456.8 MB, free: 11.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005879/0.3212, allocations: 397.1 kB / 457.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000543/0.3217, allocations: 318 kB / 457.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3218, allocations: 3.938 kB / 457.5 MB, free: 10.3 MB / 334.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001404/0.3232, allocations: 0.907 MB / 458.4 MB, free: 9.355 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.3232, allocations: 11.95 kB / 458.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.3232, allocations: 0 / 458.4 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.3234, allocations: 77.83 kB / 458.5 MB, free: 9.262 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001346/0.3248, allocations: 399.5 kB / 458.9 MB, free: 8.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/0.3304, allocations: 6.167 MB / 465 MB, free: 2.168 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.3307, allocations: 47.95 kB / 465.1 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.136e-05/0.3308, allocations: 28.08 kB / 465.1 MB, free: 2.094 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 (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003118/0.3311, allocations: 234.2 kB / 465.3 MB, free: 1.855 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.3312, allocations: 55.33 kB / 465.4 MB, free: 1.801 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.3327, allocations: 0.8516 MB / 466.2 MB, free: 0.918 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3327, allocations: 11.95 kB / 466.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.3327, allocations: 0 / 466.2 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3327, allocations: 3.938 kB / 466.2 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002688/0.3354, allocations: 1.719 MB / 468 MB, free: 15.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3354, allocations: 3.984 kB / 468 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/0.337, allocations: 427.8 kB / 468.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002582/0.3373, allocations: 93.56 kB / 468.5 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.062e-05/0.3373, allocations: 12 kB / 468.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002386/0.3397, allocations: 2.887 MB / 471.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3397, allocations: 4.031 kB / 471.4 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.3418, allocations: 1.351 MB / 472.7 MB, free: 9.984 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.3419, allocations: 132.4 kB / 472.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.72e-05/0.3419, allocations: 16 kB / 472.9 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003078/0.3423, allocations: 43.95 kB / 472.9 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/0.3424, allocations: 51.83 kB / 473 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.3424, allocations: 19.98 kB / 473 MB, free: 9.707 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.3427, allocations: 283.1 kB / 473.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3427, allocations: 0 / 473.3 MB, free: 9.434 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006008/0.3433, allocations: 148 kB / 473.4 MB, free: 9.289 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001532/0.3435, allocations: 107.2 kB / 473.5 MB, free: 9.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002472/0.346, allocations: 1.194 MB / 474.7 MB, free: 7.949 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.346, allocations: 4.438 kB / 474.7 MB, free: 7.945 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001776/0.3478, allocations: 0.8803 MB / 475.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007162/0.3485, allocations: 137.3 kB / 475.7 MB, free: 6.91 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003072/0.3516, allocations: 1.935 MB / 477.7 MB, free: 4.926 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005365/0.3522, allocations: 0.9408 MB / 478.6 MB, free: 3.957 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001426/0.3523, allocations: 43.44 kB / 478.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3523, allocations: 0 / 478.6 MB, free: 3.914 MB / 350.1 MB Notification: Performance of Templates: time 0.02722/0.3795, allocations: 16.66 MB / 495.3 MB, free: 3.238 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++ 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.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