Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009406/0.0009405, allocations: 96.72 kB / 17.31 MB, free: 5.934 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.001148/0.001148, allocations: 182.7 kB / 18.22 MB, free: 5.395 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.804/1.804, 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.2106/0.2106, allocations: 38.04 MB / 310.7 MB, free: 5.988 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.0005657/0.0005657, allocations: 12.56 kB / 377.8 MB, free: 2.793 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.314, allocations: 56.33 MB / 434.1 MB, free: 18.95 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005915/0.3199, allocations: 6.948 MB / 441.1 MB, free: 11.97 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002752/0.3227, allocations: 1.785 MB / 442.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003686/0.3231, allocations: 39.69 kB / 442.9 MB, free: 10.14 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000451/0.3236, allocations: 127.2 kB / 443 MB, free: 10.02 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006721/0.3243, allocations: 406.2 kB / 443.4 MB, free: 9.617 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.3247, allocations: 179.8 kB / 443.6 MB, free: 9.441 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001115/0.3258, allocations: 1.672 MB / 445.3 MB, free: 7.766 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003734/0.3262, allocations: 283 kB / 445.6 MB, free: 7.488 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004137/0.3266, allocations: 390.2 kB / 445.9 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005896/0.3272, allocations: 0.5334 MB / 446.5 MB, free: 6.57 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.304e-05/0.3273, allocations: 36 kB / 446.5 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.3274, allocations: 32 kB / 446.5 MB, free: 6.504 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002266/0.3276, allocations: 275.3 kB / 446.8 MB, free: 6.234 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002553/0.3279, allocations: 363.9 kB / 447.2 MB, free: 5.871 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004284/0.3283, allocations: 0.6546 MB / 447.8 MB, free: 5.215 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.3283, allocations: 4 kB / 447.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3283, allocations: 0 / 447.8 MB, free: 5.211 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.446e-05/0.3283, allocations: 0 / 447.8 MB, free: 5.211 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001587/0.3299, allocations: 0.9179 MB / 448.7 MB, free: 4.242 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.33, allocations: 12.03 kB / 448.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000122/0.3301, allocations: 76 kB / 448.8 MB, free: 4.156 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007657/0.3309, allocations: 0.5535 MB / 449.4 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.331, allocations: 120.8 kB / 449.5 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.192e-05/0.3311, allocations: 56 kB / 449.5 MB, free: 3.375 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001195/0.3323, allocations: 0.7967 MB / 450.3 MB, free: 2.547 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.3324, allocations: 3.938 kB / 450.3 MB, free: 2.543 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-05/0.3324, allocations: 23.98 kB / 450.4 MB, free: 2.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001079/0.3326, allocations: 36.98 kB / 450.4 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001216/0.3338, allocations: 0.7298 MB / 451.1 MB, free: 1.754 MB / 318.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003865/0.3377, allocations: 2.755 MB / 453.9 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/0.3395, allocations: 0.9362 MB / 454.8 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.3401, allocations: 345.3 kB / 455.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.3402, allocations: 7.984 kB / 455.2 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/0.3402, allocations: 42.55 kB / 455.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 1.964e-06/0.3402, allocations: 0 / 455.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.004059/0.3443, allocations: 2.015 MB / 457.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.915e-05/0.3444, allocations: 89.03 kB / 457.3 MB, free: 11.26 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004812/0.3449, allocations: 421.9 kB / 457.7 MB, free: 10.84 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.3449, allocations: 29.7 kB / 457.8 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002564/0.3452, allocations: 320.2 kB / 458.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.3453, allocations: 137.9 kB / 458.2 MB, free: 10.35 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.131e-05/0.3454, allocations: 45.69 kB / 458.3 MB, free: 10.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.3456, allocations: 366.8 kB / 458.6 MB, free: 9.93 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.3461, allocations: 256.8 kB / 458.9 MB, free: 9.68 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.3466, allocations: 366.3 kB / 459.2 MB, free: 9.277 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.3477, allocations: 0.6091 MB / 459.8 MB, free: 8.621 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3477, allocations: 4 kB / 459.8 MB, free: 8.617 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001393/0.3491, allocations: 0.8232 MB / 460.7 MB, free: 7.762 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3492, allocations: 4 kB / 460.7 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.3492, allocations: 4 kB / 460.7 MB, free: 7.754 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.3495, allocations: 77.88 kB / 460.7 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/0.351, allocations: 379.5 kB / 461.1 MB, free: 7.301 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006172/0.3572, allocations: 6.163 MB / 467.3 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004139/0.3576, allocations: 35.97 kB / 467.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.3577, allocations: 23.94 kB / 467.3 MB, free: 0.5469 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (54): * Single equations (assignments): 50 * 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.0004098/0.3581, allocations: 245.6 kB / 467.6 MB, free: 304 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.446e-05/0.3582, allocations: 51.34 kB / 467.6 MB, free: 252 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001493/0.3597, allocations: 0.7612 MB / 468.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.3597, allocations: 4 kB / 468.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3597, allocations: 4 kB / 468.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.3597, allocations: 0 / 468.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002624/0.3623, allocations: 1.538 MB / 469.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.265e-06/0.3624, allocations: 8 kB / 469.9 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001718/0.3641, allocations: 403.6 kB / 470.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002659/0.3644, allocations: 89.53 kB / 470.4 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/0.3644, allocations: 8 kB / 470.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002416/0.3668, allocations: 2.891 MB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.3669, allocations: 7.969 kB / 473.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001931/0.3688, allocations: 1.165 MB / 474.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00014/0.3689, allocations: 120.5 kB / 474.6 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.929e-05/0.369, allocations: 19.94 kB / 474.6 MB, free: 8.781 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.3694, allocations: 36 kB / 474.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.3695, allocations: 43.88 kB / 474.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.3695, allocations: 12 kB / 474.7 MB, free: 8.691 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003525/0.3699, allocations: 295.1 kB / 475 MB, free: 8.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3699, allocations: 4 kB / 475 MB, free: 8.402 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006802/0.3706, allocations: 140 kB / 475.1 MB, free: 8.266 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: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * 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.000164/0.3707, allocations: 103.2 kB / 475.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002754/0.3735, allocations: 1.11 MB / 476.4 MB, free: 7.02 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3735, allocations: 4.375 kB / 476.4 MB, free: 7.016 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.3755, allocations: 0.8133 MB / 477.2 MB, free: 6.176 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008464/0.3764, allocations: 138.3 kB / 477.3 MB, free: 6.039 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.379, allocations: 1.821 MB / 479.1 MB, free: 4.172 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005912/0.3796, allocations: 0.9445 MB / 480.1 MB, free: 3.203 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.3798, allocations: 43.44 kB / 480.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3798, allocations: 0 / 480.1 MB, free: 3.16 MB / 350.1 MB Notification: Performance of Templates: time 0.01915/0.399, allocations: 16.76 MB / 496.9 MB, free: 2.387 MB / 366.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.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.Elementary.RectifierCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.RectifierCalcHelperMain.o] Error 1