Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") translateModel(PowerSystems.Examples.AC3ph.Elementary.Rectifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007617/0.0007618, allocations: 93.62 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.0008182/0.0008183, allocations: 179.5 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.594/1.594, allocations: 205.4 MB / 224 MB, free: 13.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1/package.mo): time 0.1694/0.1694, allocations: 38.04 MB / 310.3 MB, free: 6.039 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.0005252/0.0005254, allocations: 23.11 kB / 377.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2701, allocations: 56.32 MB / 433.5 MB, free: 18.83 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Rectifier): time 0.006719/0.2769, allocations: 6.956 MB / 440.4 MB, free: 11.84 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003946/0.2808, allocations: 2.382 MB / 442.8 MB, free: 9.453 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009011/0.2818, allocations: 43.69 kB / 442.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007662/0.2826, allocations: 170.8 kB / 443 MB, free: 9.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001889/0.2845, allocations: 0.5638 MB / 443.6 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.2856, allocations: 351.4 kB / 443.9 MB, free: 8.332 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001423/0.2871, allocations: 1.469 MB / 445.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.2884, allocations: 0.8401 MB / 446.2 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008237/0.2893, allocations: 450.2 kB / 446.7 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.2903, allocations: 0.6466 MB / 447.3 MB, free: 4.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002157/0.2905, allocations: 48 kB / 447.4 MB, free: 4.848 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009292/0.2915, allocations: 475.2 kB / 447.8 MB, free: 4.383 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004588/0.2919, allocations: 415 kB / 448.2 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003273/0.2923, allocations: 201.2 kB / 448.4 MB, free: 3.773 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009852/0.2933, allocations: 1.099 MB / 449.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2933, allocations: 0 / 449.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.2933, allocations: 0 / 449.5 MB, free: 2.672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.163e-05/0.2933, allocations: 0 / 449.5 MB, free: 2.672 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002467/0.2958, allocations: 1.2 MB / 450.7 MB, free: 1.422 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.2959, allocations: 12.03 kB / 450.8 MB, free: 1.41 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/0.2966, allocations: 150.7 kB / 450.9 MB, free: 1.262 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00091/0.2975, allocations: 0.6349 MB / 451.5 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001703/0.2977, allocations: 183.1 kB / 451.7 MB, free: 396 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.2979, allocations: 95.86 kB / 451.8 MB, free: 300 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002039/0.2999, allocations: 1.378 MB / 453.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.635e-05/0.3, allocations: 7.938 kB / 453.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.238e-05/0.3001, allocations: 32 kB / 453.2 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001352/0.3002, allocations: 65.91 kB / 453.3 MB, free: 14.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002157/0.3024, allocations: 1.335 MB / 454.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0061/0.3085, allocations: 4.974 MB / 459.6 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/0.3105, allocations: 1.211 MB / 460.8 MB, free: 7.027 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009968/0.3115, allocations: 0.6514 MB / 461.5 MB, free: 6.367 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.163e-05/0.3116, allocations: 16.5 kB / 461.5 MB, free: 6.352 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.3116, allocations: 47.06 kB / 461.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.036e-06/0.3116, allocations: 0 / 461.5 MB, free: 6.297 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.005561/0.3172, allocations: 3.296 MB / 464.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.3173, allocations: 93.61 kB / 464.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005295/0.3178, allocations: 457.9 kB / 465.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.958e-05/0.3179, allocations: 37.7 kB / 465.4 MB, free: 2.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.3182, allocations: 395.3 kB / 465.8 MB, free: 1.902 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.3184, allocations: 260.3 kB / 466 MB, free: 1.645 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.361e-05/0.3184, allocations: 12 kB / 466 MB, free: 1.633 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3186, allocations: 378.7 kB / 466.4 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008776/0.3195, allocations: 0.5173 MB / 466.9 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009864/0.3205, allocations: 0.7028 MB / 467.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009782/0.3215, allocations: 0.5926 MB / 468.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3215, allocations: 4 kB / 468.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=105) (initialization): time 0.004098/0.3256, allocations: 2.119 MB / 470.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.3256, allocations: 8 kB / 470.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003551/0.3292, allocations: 1.855 MB / 472.2 MB, free: 11.31 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.3309, allocations: 0.7084 MB / 472.9 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.3315, allocations: 155.8 kB / 473.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.342, allocations: 7.074 MB / 480.1 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006378/0.3427, allocations: 92 kB / 480.2 MB, free: 3.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.301e-05/0.3428, allocations: 27.98 kB / 480.3 MB, free: 2.988 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (76): * Single equations (assignments): 73 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {4 16} Notification: Performance of prepare postOptimizeDAE: time 0.0005825/0.3433, allocations: 313.5 kB / 480.6 MB, free: 2.672 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000193/0.3435, allocations: 63.2 kB / 480.6 MB, free: 2.609 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002373/0.3459, allocations: 1.344 MB / 482 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.336e-05/0.346, allocations: 12 kB / 482 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.267e-06/0.346, allocations: 8 kB / 482 MB, free: 1.219 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.346, allocations: 3.984 kB / 482 MB, free: 1.215 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004057/0.3501, allocations: 2.465 MB / 484.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.643e-06/0.3501, allocations: 0 / 484.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00238/0.3525, allocations: 0.64 MB / 485.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001083/0.3526, allocations: 32.84 kB / 485.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.152e-05/0.3527, allocations: 19.98 kB / 485.2 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/0.3538, allocations: 1.455 MB / 486.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.3538, allocations: 7.984 kB / 486.6 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003247/0.3571, allocations: 2.086 MB / 488.7 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.3573, allocations: 132.3 kB / 488.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/0.3574, allocations: 20.05 kB / 488.9 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004948/0.3579, allocations: 75.91 kB / 488.9 MB, free: 9.992 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001566/0.3581, allocations: 64.45 kB / 489 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.784e-05/0.3581, allocations: 16 kB / 489 MB, free: 9.914 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003678/0.3585, allocations: 318.9 kB / 489.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3585, allocations: 0 / 489.3 MB, free: 9.605 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009615/0.3595, allocations: 236 kB / 489.5 MB, free: 9.375 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (67): * Single equations (assignments): 64 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002561/0.3597, allocations: 123.1 kB / 489.7 MB, free: 9.246 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002776/0.3625, allocations: 1.594 MB / 491.3 MB, free: 7.621 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.416e-06/0.3625, allocations: 8 kB / 491.3 MB, free: 7.613 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002437/0.365, allocations: 1.126 MB / 492.4 MB, free: 6.477 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008388/0.3658, allocations: 157.8 kB / 492.6 MB, free: 6.324 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004557/0.3704, allocations: 2.795 MB / 495.3 MB, free: 3.484 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000836/0.3713, allocations: 1.079 MB / 496.4 MB, free: 2.379 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.3715, allocations: 55.42 kB / 496.5 MB, free: 2.328 MB / 366.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3715, allocations: 3.938 kB / 496.5 MB, free: 2.324 MB / 366.1 MB Notification: Performance of Templates: time 0.02974/0.4013, allocations: 20.08 MB / 0.5045 GB, free: 14.22 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Rectifier.makefile make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.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.AC3ph.Elementary.RectifierCalcHelperMain.o OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSystems_PowerSystems.Examples.AC3ph.Elementary.RectifierCalcHelperMain.o] Error 1