Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01072/0.01072, allocations: 100.3 kB / 15.87 MB, free: 5.867 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.001859/0.00186, allocations: 194.4 kB / 16.79 MB, free: 5.809 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.921/1.921, allocations: 205.1 MB / 222.6 MB, free: 4.75 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.925/1.925, allocations: 292.3 MB / 0.5491 GB, free: 13.64 MB / 462.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.001409/0.001409, allocations: 67.33 kB / 0.6715 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3098/0.3112, allocations: 114.6 MB / 0.7833 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.02074/0.332, allocations: 14.57 MB / 0.7976 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01753/0.3496, allocations: 10.44 MB / 0.8078 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001837/0.3515, allocations: 51.69 kB / 0.8078 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00415/0.3557, allocations: 1.583 MB / 0.8094 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.005769/0.3615, allocations: 1.599 MB / 0.8109 GB, free: 1.66 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002275/0.3638, allocations: 0.6863 MB / 0.8116 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005309/0.3691, allocations: 3.404 MB / 0.8149 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002267/0.3714, allocations: 1.364 MB / 0.8162 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002463/0.3739, allocations: 1.386 MB / 0.8176 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.3756, allocations: 1.171 MB / 0.8187 GB, free: 9.594 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002155/0.3759, allocations: 96 kB / 0.8188 GB, free: 9.5 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001764/0.3776, allocations: 0.889 MB / 0.8197 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000544/0.3782, allocations: 0.5412 MB / 0.8202 GB, free: 8.066 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001004/0.3792, allocations: 0.8936 MB / 0.8211 GB, free: 7.168 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002281/0.3815, allocations: 2.182 MB / 0.8232 GB, free: 4.98 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3815, allocations: 4 kB / 0.8232 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.112e-06/0.3815, allocations: 0 / 0.8232 GB, free: 4.977 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.204e-05/0.3816, allocations: 0 / 0.8232 GB, free: 4.977 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003895/0.3855, allocations: 2.17 MB / 0.8254 GB, free: 2.75 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.3855, allocations: 8.031 kB / 0.8254 GB, free: 2.742 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01106/0.3966, allocations: 2.108 MB / 0.8274 GB, free: 0.6289 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002914/0.3995, allocations: 1.214 MB / 0.8286 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.956e-05/0.3996, allocations: 86.69 kB / 0.8287 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002819/0.3999, allocations: 120 kB / 0.8288 GB, free: 15.15 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005721/0.4056, allocations: 2.67 MB / 0.8314 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/0.4057, allocations: 11.94 kB / 0.8314 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/0.4059, allocations: 55.97 kB / 0.8315 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000617/0.4065, allocations: 198.1 kB / 0.8317 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007433/0.4139, allocations: 2.791 MB / 0.8344 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02049/0.4345, allocations: 10.5 MB / 0.8447 GB, free: 14.19 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006086/0.4407, allocations: 2.344 MB / 0.8469 GB, free: 11.81 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002983/0.4437, allocations: 1.28 MB / 0.8482 GB, free: 10.53 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/0.4438, allocations: 12.98 kB / 0.8482 GB, free: 10.52 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.34e-05/0.4439, allocations: 47.56 kB / 0.8482 GB, free: 10.46 MB / 0.67 GB Notification: Performance of pre-optimization done (n=89): time 3.537e-06/0.4439, allocations: 0 / 0.8482 GB, free: 10.46 MB / 0.67 GB Notification: Performance of matching and sorting (n=153): time 0.05966/0.5036, allocations: 16.47 MB / 0.8643 GB, free: 9.832 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.5037, allocations: 68.72 kB / 0.8644 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/0.5056, allocations: 1.172 MB / 0.8655 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002258/0.5058, allocations: 53.7 kB / 0.8656 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/0.5065, allocations: 0.7437 MB / 0.8663 GB, free: 7.758 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005996/0.5071, allocations: 0.5159 MB / 0.8668 GB, free: 7.234 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005901/0.5077, allocations: 287.4 kB / 0.8671 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5078, allocations: 305.1 kB / 0.8674 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003347/0.5112, allocations: 1.51 MB / 0.8689 GB, free: 5.133 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003547/0.5147, allocations: 1.78 MB / 0.8706 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006947/0.5217, allocations: 3.373 MB / 0.8739 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.5217, allocations: 4 kB / 0.8739 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.0133/0.535, allocations: 5.268 MB / 0.879 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 4.464e-05/0.5351, allocations: 11.84 kB / 0.8791 GB, free: 10.47 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.5351, allocations: 11.98 kB / 0.8791 GB, free: 10.46 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007197/0.5424, allocations: 1.878 MB / 0.8809 GB, free: 8.555 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002037/0.5444, allocations: 419.2 kB / 0.8813 GB, free: 8.145 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02968/0.5741, allocations: 22.2 MB / 0.903 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002978/0.5772, allocations: 307.5 kB / 0.9033 GB, free: 0.5898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001831/0.5774, allocations: 63.97 kB / 0.9033 GB, free: 0.5273 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001111/0.5785, allocations: 462.8 kB / 0.9038 GB, free: 68 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003752/0.5789, allocations: 174.1 kB / 0.9039 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.5921, allocations: 5.327 MB / 0.9091 GB, free: 10.52 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.72e-05/0.5922, allocations: 12 kB / 0.9092 GB, free: 10.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-05/0.5922, allocations: 20 kB / 0.9092 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.5922, allocations: 3.984 kB / 0.9092 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01736/0.6096, allocations: 7.426 MB / 0.9164 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.6097, allocations: 4 kB / 0.9164 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/0.6113, allocations: 355.7 kB / 0.9168 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006179/0.6175, allocations: 1.705 MB / 0.9184 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001874/0.6177, allocations: 47.91 kB / 0.9185 GB, free: 0.8047 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6728/1.29, allocations: 21.34 MB / 0.9393 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/1.291, allocations: 10.12 kB / 0.9393 GB, free: 117 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01975/1.31, allocations: 4.885 MB / 0.9441 GB, free: 115.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002035/1.312, allocations: 498.5 kB / 0.9446 GB, free: 115.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.313, allocations: 30.06 kB / 0.9446 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003856/1.317, allocations: 320 kB / 0.9449 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001221/1.319, allocations: 152.6 kB / 0.9451 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003856/1.319, allocations: 54.95 kB / 0.9451 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.00286/1.322, allocations: 0.7908 MB / 0.9459 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of sort global known variables: time 8.31e-07/1.322, allocations: 0 / 0.9459 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.005311/1.327, allocations: 0.6586 MB / 0.9465 GB, free: 114.7 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006598/1.328, allocations: 143.9 kB / 0.9467 GB, free: 114.6 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.01742/1.345, allocations: 5.127 MB / 0.9517 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.581e-05/1.345, allocations: 1.188 kB / 0.9517 GB, free: 112.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.01075/1.356, allocations: 3.349 MB / 0.9549 GB, free: 110.6 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005526/1.362, allocations: 0.5195 MB / 0.9554 GB, free: 110.5 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/1.375, allocations: 5.115 MB / 0.9604 GB, free: 108 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002498/1.378, allocations: 1.567 MB / 0.962 GB, free: 107.2 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009835/1.379, allocations: 130.1 kB / 0.9621 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of SimCode: time 2.224e-06/1.379, allocations: 0 / 0.9621 GB, free: 107.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.09588/1.475, allocations: 85.71 MB / 1.046 GB, free: 29.06 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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 OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMediumCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMediumCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMediumCalcHelperMain.o] Error 1