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.0007759/0.0007759, allocations: 93.53 kB / 16.95 MB, free: 6.453 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.000791/0.000791, allocations: 179.2 kB / 17.84 MB, free: 6 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.563/1.563, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1769/0.1769, allocations: 38.03 MB / 310.3 MB, free: 6.035 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.0004835/0.0004836, allocations: 16 kB / 377.1 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3007, allocations: 56.33 MB / 433.5 MB, free: 18.82 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Rectifier): time 0.005992/0.3068, allocations: 6.555 MB / 440 MB, free: 12.24 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003/0.3098, allocations: 1.723 MB / 441.8 MB, free: 10.51 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.3102, allocations: 43.69 kB / 441.8 MB, free: 10.46 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005404/0.3108, allocations: 154.9 kB / 442 MB, free: 10.31 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008377/0.3117, allocations: 465.7 kB / 442.4 MB, free: 9.855 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004218/0.3121, allocations: 223.6 kB / 442.6 MB, free: 9.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009409/0.313, allocations: 1.313 MB / 443.9 MB, free: 8.32 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003082/0.3134, allocations: 255.5 kB / 444.2 MB, free: 8.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000382/0.3137, allocations: 386.3 kB / 444.6 MB, free: 7.691 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005842/0.3143, allocations: 0.5218 MB / 445.1 MB, free: 7.168 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.775e-05/0.3144, allocations: 32 kB / 445.1 MB, free: 7.137 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.354e-05/0.3145, allocations: 32 kB / 445.1 MB, free: 7.105 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002156/0.3147, allocations: 275.3 kB / 445.4 MB, free: 6.836 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.3149, allocations: 153.3 kB / 445.6 MB, free: 6.68 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004255/0.3153, allocations: 0.6584 MB / 446.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3153, allocations: 0 / 446.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3153, allocations: 0 / 446.2 MB, free: 6.02 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.674e-06/0.3153, allocations: 0 / 446.2 MB, free: 6.02 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.001508/0.3168, allocations: 0.9334 MB / 447.2 MB, free: 5.035 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.3169, allocations: 8.031 kB / 447.2 MB, free: 5.027 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001206/0.317, allocations: 87.02 kB / 447.3 MB, free: 4.941 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.3178, allocations: 0.5291 MB / 447.8 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001492/0.3179, allocations: 124.6 kB / 447.9 MB, free: 4.234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.041e-05/0.318, allocations: 56 kB / 448 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.3191, allocations: 0.7967 MB / 448.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.3192, allocations: 0 / 448.8 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.535e-05/0.3192, allocations: 24 kB / 448.8 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001062/0.3193, allocations: 36.92 kB / 448.8 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.3204, allocations: 0.722 MB / 449.5 MB, free: 2.566 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.003445/0.3239, allocations: 2.767 MB / 452.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.3256, allocations: 0.9207 MB / 453.2 MB, free: 14.72 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005533/0.3262, allocations: 345.3 kB / 453.6 MB, free: 14.38 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.456e-05/0.3263, allocations: 8 kB / 453.6 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.3263, allocations: 42.56 kB / 453.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of pre-optimization done (n=38): time 4.268e-06/0.3263, allocations: 0 / 453.6 MB, free: 14.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=39): time 0.003741/0.3301, allocations: 2.015 MB / 455.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.921e-05/0.3301, allocations: 89.05 kB / 455.7 MB, free: 12.08 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004573/0.3306, allocations: 417.8 kB / 456.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.632e-05/0.3306, allocations: 33.7 kB / 456.2 MB, free: 11.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002272/0.3309, allocations: 324.2 kB / 456.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.331, allocations: 138 kB / 456.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.324e-05/0.331, allocations: 4 kB / 456.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001748/0.3312, allocations: 358.8 kB / 457 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.3317, allocations: 257 kB / 457.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005186/0.3322, allocations: 366 kB / 457.6 MB, free: 10.15 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/0.3327, allocations: 283.6 kB / 457.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3328, allocations: 0 / 457.8 MB, free: 9.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001368/0.3341, allocations: 0.8232 MB / 458.7 MB, free: 9.016 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.3342, allocations: 7.938 kB / 458.7 MB, free: 9.008 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/0.3342, allocations: 4 kB / 458.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002769/0.3345, allocations: 73.67 kB / 458.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/0.3358, allocations: 379.7 kB / 459.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005521/0.3413, allocations: 6.163 MB / 465.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003243/0.3417, allocations: 48.11 kB / 465.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/0.3417, allocations: 20 kB / 465.4 MB, free: 1.793 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 (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.0003399/0.342, allocations: 233.6 kB / 465.6 MB, free: 1.555 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.869e-05/0.3421, allocations: 51.39 kB / 465.6 MB, free: 1.504 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001387/0.3435, allocations: 0.7573 MB / 466.4 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/0.3436, allocations: 7.984 kB / 466.4 MB, free: 0.7109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3436, allocations: 4 kB / 466.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3436, allocations: 0 / 466.4 MB, free: 0.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.346, allocations: 1.541 MB / 467.9 MB, free: 15.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.346, allocations: 8.031 kB / 467.9 MB, free: 15.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001444/0.3475, allocations: 395.6 kB / 468.3 MB, free: 14.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/0.3478, allocations: 89.64 kB / 468.4 MB, free: 14.59 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.602e-05/0.3478, allocations: 15.98 kB / 468.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002321/0.3501, allocations: 2.884 MB / 471.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3501, allocations: 32 / 471.3 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.3519, allocations: 1.172 MB / 472.5 MB, free: 10.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001233/0.3521, allocations: 124.5 kB / 472.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.277e-05/0.3521, allocations: 12 kB / 472.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.3524, allocations: 43.91 kB / 472.7 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001027/0.3525, allocations: 35.95 kB / 472.7 MB, free: 9.969 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.987e-05/0.3526, allocations: 15.98 kB / 472.7 MB, free: 9.953 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003292/0.3529, allocations: 287.1 kB / 473 MB, free: 9.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3529, allocations: 4 kB / 473 MB, free: 9.672 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006685/0.3536, allocations: 136 kB / 473.1 MB, free: 9.539 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 (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.000176/0.3538, allocations: 115.1 kB / 473.2 MB, free: 9.418 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002384/0.3562, allocations: 1.102 MB / 474.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.427e-06/0.3562, allocations: 0 / 474.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.3579, allocations: 0.8103 MB / 475.2 MB, free: 7.453 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007404/0.3586, allocations: 140.8 kB / 475.3 MB, free: 7.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.3613, allocations: 1.778 MB / 477.1 MB, free: 5.496 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.3619, allocations: 0.9445 MB / 478 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001385/0.3621, allocations: 39.42 kB / 478.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of SimCode: time 8.72e-07/0.3621, allocations: 0 / 478.1 MB, free: 4.488 MB / 350.1 MB Notification: Performance of Templates: time 0.01946/0.3816, allocations: 16.79 MB / 494.8 MB, free: 3.688 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++ 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.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