Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") translateModel(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009821/0.0009825, allocations: 91.81 kB / 16.37 MB, free: 5.969 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.0009604/0.0009605, allocations: 183.8 kB / 17.27 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.505/1.505, allocations: 223.2 MB / 241.3 MB, free: 14.6 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.06049/0.06049, allocations: 8.093 MB / 300.5 MB, free: 6.574 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003329/0.0003332, allocations: 8 kB / 363.5 MB, free: 7.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3237, allocations: 52.5 MB / 416 MB, free: 24.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines): time 0.002136/0.3259, allocations: 2.267 MB / 418.3 MB, free: 22.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001874/0.3278, allocations: 1.653 MB / 419.9 MB, free: 21.04 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001301/0.3279, allocations: 8 kB / 419.9 MB, free: 21.03 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002862/0.3282, allocations: 115.4 kB / 420 MB, free: 20.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003986/0.3286, allocations: 222.8 kB / 420.2 MB, free: 20.7 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001463/0.3301, allocations: 0.9112 MB / 421.2 MB, free: 19.79 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006072/0.3307, allocations: 477.5 kB / 421.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.331, allocations: 117.2 kB / 421.7 MB, free: 19.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001482/0.3311, allocations: 187.3 kB / 421.9 MB, free: 19.01 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.3313, allocations: 231 kB / 422.1 MB, free: 18.79 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.973e-05/0.3314, allocations: 20 kB / 422.2 MB, free: 18.77 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004238/0.3318, allocations: 239.7 kB / 422.4 MB, free: 18.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.229e-05/0.3319, allocations: 87.59 kB / 422.5 MB, free: 18.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 7.436e-05/0.332, allocations: 109.5 kB / 422.6 MB, free: 18.33 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.3324, allocations: 486.6 kB / 423.1 MB, free: 17.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.3324, allocations: 4 kB / 423.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3324, allocations: 0 / 423.1 MB, free: 17.85 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3325, allocations: 0 / 423.1 MB, free: 17.85 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.005195/0.3377, allocations: 1.599 MB / 424.7 MB, free: 16.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.3377, allocations: 8.562 kB / 424.7 MB, free: 16.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.3379, allocations: 55.39 kB / 424.7 MB, free: 16.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003918/0.3383, allocations: 354.8 kB / 425.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.3383, allocations: 33 kB / 425.1 MB, free: 15.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.598e-05/0.3384, allocations: 40 kB / 425.1 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000832/0.3392, allocations: 0.6004 MB / 425.7 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3393, allocations: 4 kB / 425.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.127e-05/0.3393, allocations: 16 kB / 425.8 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.3393, allocations: 11.95 kB / 425.8 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006846/0.34, allocations: 0.5388 MB / 426.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002498/0.3425, allocations: 2.239 MB / 428.6 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009633/0.3435, allocations: 0.881 MB / 429.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004434/0.344, allocations: 398.5 kB / 429.8 MB, free: 10.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001309/0.3453, allocations: 1.342 MB / 431.2 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.3453, allocations: 42.94 kB / 431.2 MB, free: 9.246 MB / 302.1 MB Notification: Performance of pre-optimization done (n=53): time 2.414e-06/0.3453, allocations: 4 kB / 431.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of matching and sorting (n=53): time 0.007953/0.3533, allocations: 2.63 MB / 433.8 MB, free: 6.578 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.211e-05/0.3534, allocations: 119.2 kB / 434 MB, free: 6.438 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002936/0.3537, allocations: 337.5 kB / 434.3 MB, free: 6.102 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.196e-05/0.3538, allocations: 37.7 kB / 434.3 MB, free: 6.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.3539, allocations: 201 kB / 434.5 MB, free: 5.855 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.354, allocations: 181.4 kB / 434.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.3541, allocations: 16 kB / 434.7 MB, free: 5.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001036/0.3542, allocations: 346.8 kB / 435.1 MB, free: 5.312 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004992/0.3547, allocations: 401.9 kB / 435.4 MB, free: 4.922 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.3552, allocations: 0.5089 MB / 436 MB, free: 4.379 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005668/0.3558, allocations: 447 kB / 436.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.3558, allocations: 0 / 436.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of matching and sorting (n=93) (initialization): time 0.003766/0.3596, allocations: 1.785 MB / 438.2 MB, free: 2.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.3596, allocations: 4 kB / 438.2 MB, free: 2.141 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.3597, allocations: 4 kB / 438.2 MB, free: 2.137 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003911/0.3636, allocations: 1.112 MB / 439.3 MB, free: 1.023 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004161/0.364, allocations: 127.8 kB / 439.4 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008521/0.3725, allocations: 4.788 MB / 444.2 MB, free: 11.98 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006752/0.3733, allocations: 71.22 kB / 444.3 MB, free: 11.91 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/0.3733, allocations: 27.98 kB / 444.3 MB, free: 11.88 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(10,56.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003048/0.3736, allocations: 181.8 kB / 444.5 MB, free: 11.69 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/0.3737, allocations: 43.44 kB / 444.5 MB, free: 11.65 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00442/0.3782, allocations: 1.62 MB / 446.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.3782, allocations: 4 kB / 446.2 MB, free: 10.02 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.3782, allocations: 11.98 kB / 446.2 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.3782, allocations: 0 / 446.2 MB, free: 10 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.379, allocations: 0.6697 MB / 446.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/0.379, allocations: 11.92 kB / 446.8 MB, free: 9.266 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002291/0.3793, allocations: 67.91 kB / 446.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004206/0.3835, allocations: 1.036 MB / 447.9 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.539e-05/0.3836, allocations: 15.98 kB / 448 MB, free: 8.148 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008581/0.3922, allocations: 4.756 MB / 452.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.3922, allocations: 0 / 452.7 MB, free: 3.258 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004374/0.3966, allocations: 1.62 MB / 454.3 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001922/0.3968, allocations: 128.4 kB / 454.5 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.717e-05/0.3969, allocations: 15.95 kB / 454.5 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003644/0.3972, allocations: 23.98 kB / 454.5 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.3974, allocations: 52.48 kB / 454.6 MB, free: 1.383 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-05/0.3975, allocations: 16 kB / 454.6 MB, free: 1.367 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002552/0.3977, allocations: 219.2 kB / 454.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3977, allocations: 0 / 454.8 MB, free: 1.152 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000867/0.3986, allocations: 228 kB / 455 MB, free: 0.9297 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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 {(10,58.0%) 14} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002529/0.3989, allocations: 127.2 kB / 455.1 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.4018, allocations: 1.322 MB / 456.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.4018, allocations: 0 / 456.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001866/0.4037, allocations: 0.8234 MB / 457.3 MB, free: 14.62 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004154/0.4041, allocations: 38.38 kB / 457.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.4058, allocations: 1.122 MB / 458.4 MB, free: 13.45 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000442/0.4063, allocations: 0.8332 MB / 459.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.4064, allocations: 43.42 kB / 459.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of SimCode: time 4.61e-07/0.4064, allocations: 4 kB / 459.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of Templates: time 0.01426/0.4207, allocations: 9.333 MB / 468.7 MB, free: 3.219 MB / 334.1 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.makefile make -j1 -f PowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLines.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 OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLinesCalcHelperMain.o OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLinesCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppPowerSysPro_PowerSysPro.Examples.OneSourceOneTransfoOneLineOneTransfoThreeLinesCalcHelperMain.o] Error 1