Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008658/0.0008658, allocations: 99.36 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 179.2 kB / 16.58 MB, free: 6.422 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.713/1.713, allocations: 205.4 MB / 222.8 MB, free: 5.656 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.811/1.811, allocations: 292.7 MB / 0.5505 GB, free: 14.55 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.0006919/0.0006914, allocations: 16.94 kB / 0.6744 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3104, allocations: 116.3 MB / 0.7879 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03435/0.3449, allocations: 29.63 MB / 0.8169 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.3652, allocations: 9.851 MB / 0.8265 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005112/0.3704, allocations: 127.2 kB / 0.8266 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003794/0.3742, allocations: 0.6161 MB / 0.8272 GB, free: 3.605 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006508/0.3808, allocations: 1.469 MB / 0.8287 GB, free: 2.129 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006438/0.3872, allocations: 1.268 MB / 0.8299 GB, free: 0.8633 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01892/0.4062, allocations: 8.258 MB / 0.838 GB, free: 8.586 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02767/0.4339, allocations: 10.32 MB / 0.848 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00598/0.44, allocations: 2.268 MB / 0.8503 GB, free: 11.9 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00667/0.4467, allocations: 2.897 MB / 0.8531 GB, free: 8.996 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001472/0.4482, allocations: 264 kB / 0.8533 GB, free: 8.738 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004046/0.4523, allocations: 0.8427 MB / 0.8542 GB, free: 7.895 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003443/0.4557, allocations: 2.038 MB / 0.8561 GB, free: 5.852 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002132/0.4579, allocations: 0.9524 MB / 0.8571 GB, free: 4.891 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01213/0.47, allocations: 8.353 MB / 0.8652 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4701, allocations: 0 / 0.8652 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 4.538e-06/0.4701, allocations: 0 / 0.8652 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004384/0.4705, allocations: 0 / 0.8652 GB, free: 12.52 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01367/0.4842, allocations: 4.066 MB / 0.8692 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.4843, allocations: 8.031 kB / 0.8692 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007349/0.4917, allocations: 0.9542 MB / 0.8701 GB, free: 7.41 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00732/0.4991, allocations: 2.804 MB / 0.8729 GB, free: 4.547 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003829/0.4995, allocations: 345.3 kB / 0.8732 GB, free: 4.207 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001863/0.5014, allocations: 463.9 kB / 0.8737 GB, free: 3.754 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0193/0.5207, allocations: 7.632 MB / 0.8811 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001562/0.5209, allocations: 19.78 kB / 0.8811 GB, free: 11.75 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005315/0.5214, allocations: 200 kB / 0.8813 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003909/0.5218, allocations: 328.8 kB / 0.8816 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/0.5352, allocations: 5.663 MB / 0.8872 GB, free: 5.547 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6215/1.157, allocations: 35.12 MB / 0.9215 GB, free: 118.3 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003462/1.16, allocations: 2.149 MB / 0.9236 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002215/1.162, allocations: 1.261 MB / 0.9248 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.042e-05/1.163, allocations: 16.41 kB / 0.9248 GB, free: 117.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.163, allocations: 48.59 kB / 0.9249 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=133): time 3.627e-06/1.163, allocations: 0 / 0.9249 GB, free: 117.6 MB / 0.7325 GB Notification: Performance of matching and sorting (n=136): time 0.01337/1.176, allocations: 7.093 MB / 0.9318 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/1.176, allocations: 66.72 kB / 0.9318 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002281/1.178, allocations: 1.476 MB / 0.9333 GB, free: 115.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001511/1.179, allocations: 46.95 kB / 0.9333 GB, free: 115 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001772/1.18, allocations: 1.997 MB / 0.9353 GB, free: 113.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004973/1.181, allocations: 493.4 kB / 0.9357 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.015e-05/1.181, allocations: 35.81 kB / 0.9358 GB, free: 113.1 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.181, allocations: 389.7 kB / 0.9362 GB, free: 112.8 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001378/1.182, allocations: 0.9025 MB / 0.937 GB, free: 112.4 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001669/1.184, allocations: 1.589 MB / 0.9386 GB, free: 111.2 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001999/1.186, allocations: 1.174 MB / 0.9397 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.566e-05/1.186, allocations: 6.406 kB / 0.9397 GB, free: 110.7 MB / 0.7325 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.007692/1.194, allocations: 3.511 MB / 0.9432 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.929e-05/1.194, allocations: 14.44 kB / 0.9432 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.855e-05/1.194, allocations: 25.23 kB / 0.9432 GB, free: 109.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002669/1.197, allocations: 0.9074 MB / 0.9441 GB, free: 109 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001384/1.198, allocations: 344.9 kB / 0.9444 GB, free: 108.9 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/1.22, allocations: 21.2 MB / 0.9651 GB, free: 90.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002083/1.222, allocations: 103 kB / 0.9652 GB, free: 90.67 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/1.222, allocations: 86.62 kB / 0.9653 GB, free: 90.65 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003463/1.225, allocations: 1.612 MB / 0.9669 GB, free: 89.93 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005275/1.226, allocations: 204.1 kB / 0.9671 GB, free: 89.83 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006026/1.232, allocations: 2.978 MB / 0.97 GB, free: 88.55 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.952e-05/1.232, allocations: 13.72 kB / 0.97 GB, free: 88.55 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.131e-05/1.232, allocations: 15.95 kB / 0.97 GB, free: 88.54 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/1.232, allocations: 5.953 kB / 0.97 GB, free: 88.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01178/1.244, allocations: 7.321 MB / 0.9772 GB, free: 84.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.244, allocations: 3.906 kB / 0.9772 GB, free: 84.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007191/1.245, allocations: 181.1 kB / 0.9773 GB, free: 84.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/1.247, allocations: 0.8228 MB / 0.9781 GB, free: 84.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.824e-05/1.247, allocations: 27.84 kB / 0.9782 GB, free: 84.07 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01687/1.264, allocations: 20.3 MB / 0.998 GB, free: 65.11 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.447e-06/1.264, allocations: 15.52 kB / 0.998 GB, free: 65.1 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005326/1.269, allocations: 3.007 MB / 1.001 GB, free: 63.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.27, allocations: 458.8 kB / 1.001 GB, free: 62.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/1.27, allocations: 31.3 kB / 1.001 GB, free: 62.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006845/1.271, allocations: 70.05 kB / 1.001 GB, free: 62.85 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/1.271, allocations: 128.8 kB / 1.002 GB, free: 62.78 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.114e-05/1.272, allocations: 34.84 kB / 1.002 GB, free: 62.77 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001345/1.273, allocations: 0.9619 MB / 1.003 GB, free: 62.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/1.273, allocations: 0 / 1.003 GB, free: 62.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003387/1.276, allocations: 0.7946 MB / 1.003 GB, free: 62.14 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/1.277, allocations: 141.4 kB / 1.003 GB, free: 62.02 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005279/1.282, allocations: 4 MB / 1.007 GB, free: 58.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.282, allocations: 0 / 1.007 GB, free: 58.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003007/1.285, allocations: 2.742 MB / 1.01 GB, free: 56.02 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/1.288, allocations: 0.6642 MB / 1.011 GB, free: 55.36 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/1.303, allocations: 9.358 MB / 1.02 GB, free: 45.92 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00317/1.306, allocations: 3.186 MB / 1.023 GB, free: 42.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006115/1.307, allocations: 135.4 kB / 1.023 GB, free: 42.57 MB / 0.7325 GB Notification: Performance of SimCode: time 1.302e-06/1.307, allocations: 0 / 1.023 GB, free: 42.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.884/2.191, allocations: 321.1 MB / 1.337 GB, free: 308.7 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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 OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_LCalcHelperMain.o] Error 1