Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 96.14 kB / 15.87 MB, free: 16 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.001137/0.001137, allocations: 195 kB / 16.79 MB, free: 6.812 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.801/1.801, allocations: 205.1 MB / 222.6 MB, free: 4.984 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.821/1.821, allocations: 292.3 MB / 0.5491 GB, free: 13.69 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.001748/0.001748, allocations: 62.33 kB / 0.6715 GB, free: 26.39 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3619, allocations: 114.5 MB / 0.7833 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.0271/0.3891, allocations: 20.03 MB / 0.8029 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01308/0.4022, allocations: 6.493 MB / 0.8092 GB, free: 3.426 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002735/0.405, allocations: 79.62 kB / 0.8093 GB, free: 3.348 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005922/0.411, allocations: 2.092 MB / 0.8114 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004032/0.4151, allocations: 1.1 MB / 0.8124 GB, free: 152 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003734/0.4188, allocations: 1.169 MB / 0.8136 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00884/0.4277, allocations: 6.968 MB / 0.8204 GB, free: 7.996 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01149/0.4392, allocations: 6.173 MB / 0.8264 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004474/0.4437, allocations: 1.767 MB / 0.8281 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005173/0.4489, allocations: 2.387 MB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001613/0.4506, allocations: 292 kB / 0.8307 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00364/0.4543, allocations: 1.037 MB / 0.8318 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003332/0.4576, allocations: 1.528 MB / 0.8332 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004683/0.4623, allocations: 1.758 MB / 0.835 GB, free: 8.973 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006781/0.4691, allocations: 5.523 MB / 0.8404 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.4692, allocations: 0 / 0.8404 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4692, allocations: 0 / 0.8404 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002043/0.4694, allocations: 0 / 0.8404 GB, free: 3.438 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.009582/0.479, allocations: 3.456 MB / 0.8437 GB, free: 15.92 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.4791, allocations: 8.031 kB / 0.8437 GB, free: 15.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003691/0.4828, allocations: 0.6333 MB / 0.8444 GB, free: 15.27 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/0.4872, allocations: 1.947 MB / 0.8463 GB, free: 13.27 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001826/0.4874, allocations: 222.3 kB / 0.8465 GB, free: 13.05 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007259/0.4882, allocations: 292.4 kB / 0.8467 GB, free: 12.76 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009764/0.4979, allocations: 4.89 MB / 0.8515 GB, free: 7.672 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.694e-05/0.4981, allocations: 15.78 kB / 0.8515 GB, free: 7.656 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003289/0.4984, allocations: 136 kB / 0.8517 GB, free: 7.523 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004985/0.4989, allocations: 221.7 kB / 0.8519 GB, free: 7.305 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007156/0.5061, allocations: 3.754 MB / 0.8555 GB, free: 3.539 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02682/0.533, allocations: 21.56 MB / 0.8766 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.535, allocations: 1.309 MB / 0.8779 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.5364, allocations: 1.053 MB / 0.8789 GB, free: 9.613 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 7.817e-05/0.5365, allocations: 20.92 kB / 0.8789 GB, free: 9.59 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.416e-05/0.5366, allocations: 47.56 kB / 0.879 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=107): time 7.635e-06/0.5366, allocations: 0 / 0.879 GB, free: 9.535 MB / 0.7012 GB Notification: Performance of matching and sorting (n=138): time 0.02464/0.5612, allocations: 8.637 MB / 0.8874 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.376e-05/0.5614, allocations: 68.72 kB / 0.8875 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001861/0.5632, allocations: 1.134 MB / 0.8886 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.5634, allocations: 53.7 kB / 0.8886 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001028/0.5645, allocations: 1.3 MB / 0.8899 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005125/0.565, allocations: 481.1 kB / 0.8904 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004814/0.5655, allocations: 287.4 kB / 0.8906 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.5656, allocations: 305.1 kB / 0.8909 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/0.567, allocations: 0.9135 MB / 0.8918 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001713/0.5687, allocations: 1.33 MB / 0.8931 GB, free: 10.76 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/0.5721, allocations: 2.426 MB / 0.8955 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.5722, allocations: 4 kB / 0.8955 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006744/0.5789, allocations: 3.468 MB / 0.8989 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.755e-05/0.579, allocations: 12 kB / 0.8989 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.278e-05/0.579, allocations: 12 kB / 0.8989 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003637/0.5827, allocations: 1.183 MB / 0.9 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.5838, allocations: 259.6 kB / 0.9003 GB, free: 3.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01725/0.6011, allocations: 12.73 MB / 0.9127 GB, free: 6.086 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/0.6027, allocations: 87.97 kB / 0.9128 GB, free: 6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/0.6029, allocations: 67.98 kB / 0.9129 GB, free: 5.934 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002399/0.6053, allocations: 1.107 MB / 0.914 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004034/0.6057, allocations: 170.1 kB / 0.9141 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006034/0.6118, allocations: 3.173 MB / 0.9172 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.641e-05/0.6118, allocations: 12 kB / 0.9172 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.025e-05/0.6119, allocations: 12 kB / 0.9172 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.042e-05/0.6119, allocations: 15.91 kB / 0.9173 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6968/1.309, allocations: 6.235 MB / 0.9233 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-05/1.309, allocations: 4.438 kB / 0.9233 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006319/1.309, allocations: 148 kB / 0.9235 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/1.312, allocations: 1.076 MB / 0.9245 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.883e-05/1.312, allocations: 29.41 kB / 0.9246 GB, free: 126.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/1.329, allocations: 12.4 MB / 0.9367 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/1.329, allocations: 7.875 kB / 0.9367 GB, free: 119.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007159/1.336, allocations: 3.155 MB / 0.9398 GB, free: 118 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001321/1.337, allocations: 422.5 kB / 0.9402 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002164/1.337, allocations: 33.39 kB / 0.9402 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009203/1.338, allocations: 78.78 kB / 0.9403 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005671/1.339, allocations: 124.5 kB / 0.9404 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001309/1.339, allocations: 41.89 kB / 0.9404 GB, free: 117.8 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001726/1.341, allocations: 0.7695 MB / 0.9412 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.341, allocations: 0.5 kB / 0.9412 GB, free: 117.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003624/1.344, allocations: 0.6619 MB / 0.9418 GB, free: 117.4 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003201/1.345, allocations: 145.1 kB / 0.942 GB, free: 117.3 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005781/1.351, allocations: 3.124 MB / 0.945 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.351, allocations: 1.938 kB / 0.945 GB, free: 115.9 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003463/1.354, allocations: 1.952 MB / 0.9469 GB, free: 114.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00261/1.357, allocations: 474.8 kB / 0.9474 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.37, allocations: 7.177 MB / 0.9544 GB, free: 110.8 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002904/1.373, allocations: 2.382 MB / 0.9567 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005077/1.373, allocations: 101.5 kB / 0.9568 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of SimCode: time 1.533e-06/1.373, allocations: 0 / 0.9568 GB, free: 109.7 MB / 0.7325 GB Notification: Performance of Templates: time 0.07512/1.448, allocations: 79.44 MB / 1.034 GB, free: 37.85 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_NCalcHelperMain.o OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_NCalcHelperMain.o] Error 1