Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|L1.terminal.phase.1..v.1.|L2.terminal.phase.1..v.1.|L3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|L1.load1.i.2.|L2.load1.i.2.|L3.load1.i.2.|sc_load.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001137, allocations: 102.4 kB / 15.71 MB, free: 460 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.001486/0.001486, allocations: 174.6 kB / 16.58 MB, free: 6.043 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.52/1.52, allocations: 223.3 MB / 240.6 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.632/2.632, allocations: 390.4 MB / 0.6662 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0004727/0.0004729, allocations: 12 kB / 0.8154 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.011, allocations: 142.3 MB / 0.9544 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03435/1.046, allocations: 31.78 MB / 0.9855 GB, free: 0 / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02027/1.066, allocations: 10.91 MB / 0.9961 GB, free: 5.312 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004623/1.071, allocations: 135.2 kB / 0.9962 GB, free: 5.18 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.003272/1.074, allocations: 0.6821 MB / 0.9969 GB, free: 4.492 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0061/1.08, allocations: 1.578 MB / 0.9985 GB, free: 2.906 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.005933/1.086, allocations: 1.431 MB / 0.9999 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.01287/1.099, allocations: 9.634 MB / 1.009 GB, free: 7.816 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02419/1.123, allocations: 12.57 MB / 1.022 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005425/1.129, allocations: 2.654 MB / 1.024 GB, free: 8.508 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006145/1.135, allocations: 3.473 MB / 1.028 GB, free: 5.023 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001578/1.136, allocations: 328 kB / 1.028 GB, free: 4.703 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003852/1.14, allocations: 0.9637 MB / 1.029 GB, free: 3.738 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003702/1.144, allocations: 2.451 MB / 1.031 GB, free: 1.281 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002034/1.146, allocations: 1.112 MB / 1.032 GB, free: 164 kB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0116/1.158, allocations: 9.933 MB / 1.042 GB, free: 6.203 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.158, allocations: 0 / 1.042 GB, free: 6.203 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.164e-06/1.158, allocations: 0 / 1.042 GB, free: 6.203 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003983/1.158, allocations: 0 / 1.042 GB, free: 6.203 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.01159/1.17, allocations: 4.71 MB / 1.047 GB, free: 1.422 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.17, allocations: 12.03 kB / 1.047 GB, free: 1.41 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006682/1.176, allocations: 1.055 MB / 1.048 GB, free: 356 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008433/1.185, allocations: 3.204 MB / 1.051 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/1.185, allocations: 415.1 kB / 1.051 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002925/1.188, allocations: 0.5389 MB / 1.052 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02485/1.213, allocations: 9.028 MB / 1.06 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003198/1.214, allocations: 27.69 kB / 1.06 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001837/1.215, allocations: 239.9 kB / 1.061 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005204/1.216, allocations: 358.7 kB / 1.061 GB, free: 2.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01706/1.233, allocations: 6.783 MB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05183/1.285, allocations: 40.16 MB / 1.107 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004246/1.289, allocations: 3.102 MB / 1.11 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002874/1.292, allocations: 1.954 MB / 1.112 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001487/1.292, allocations: 18 kB / 1.112 GB, free: 10.29 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.852e-05/1.292, allocations: 60.5 kB / 1.112 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=179): time 3.727e-06/1.292, allocations: 0 / 1.112 GB, free: 10.22 MB / 0.8731 GB Notification: Performance of matching and sorting (n=182): time 0.02955/1.322, allocations: 9.873 MB / 1.122 GB, free: 256 kB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.233e-05/1.322, allocations: 69.41 kB / 1.122 GB, free: 172 kB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003024/1.325, allocations: 1.515 MB / 1.123 GB, free: 14.61 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002828/1.325, allocations: 53.64 kB / 1.123 GB, free: 14.55 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001746/1.327, allocations: 2.261 MB / 1.125 GB, free: 12.26 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007921/1.328, allocations: 0.6316 MB / 1.126 GB, free: 11.62 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001896/1.328, allocations: 44 kB / 1.126 GB, free: 11.57 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0002102/1.328, allocations: 398.4 kB / 1.126 GB, free: 11.18 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/1.33, allocations: 1.164 MB / 1.128 GB, free: 10.01 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/1.333, allocations: 1.877 MB / 1.129 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002314/1.335, allocations: 1.509 MB / 1.131 GB, free: 6.309 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/1.335, allocations: 11.95 kB / 1.131 GB, free: 6.297 MB / 0.8887 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.007917/1.343, allocations: 4.551 MB / 1.135 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/1.343, allocations: 12 kB / 1.135 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/1.343, allocations: 24.88 kB / 1.135 GB, free: 1.688 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003619/1.347, allocations: 1.586 MB / 1.137 GB, free: 96 kB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001246/1.348, allocations: 351.4 kB / 1.137 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02311/1.371, allocations: 17.06 MB / 1.154 GB, free: 14.16 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/1.373, allocations: 115.9 kB / 1.154 GB, free: 14.05 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005091/1.374, allocations: 96.36 kB / 1.154 GB, free: 13.95 MB / 0.92 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(12,31.2%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004775/1.378, allocations: 1.902 MB / 1.156 GB, free: 12.04 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007356/1.379, allocations: 225.3 kB / 1.156 GB, free: 11.82 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008059/1.387, allocations: 4.071 MB / 1.16 GB, free: 7.715 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.955e-05/1.387, allocations: 16 kB / 1.16 GB, free: 7.699 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.061e-05/1.387, allocations: 20 kB / 1.16 GB, free: 7.68 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/1.387, allocations: 15.95 kB / 1.16 GB, free: 7.664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01815/1.406, allocations: 9.439 MB / 1.169 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-05/1.406, allocations: 4 kB / 1.169 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008317/1.406, allocations: 183.7 kB / 1.17 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003446/1.41, allocations: 1.353 MB / 1.171 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001976/1.41, allocations: 32 kB / 1.171 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02143/1.432, allocations: 15.96 MB / 1.187 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.03e-05/1.432, allocations: 7.938 kB / 1.187 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007655/1.439, allocations: 4.05 MB / 1.19 GB, free: 7.77 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.441, allocations: 0.5294 MB / 1.191 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005444/1.441, allocations: 39.94 kB / 1.191 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/1.442, allocations: 91.89 kB / 1.191 GB, free: 7.09 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004995/1.443, allocations: 161.6 kB / 1.191 GB, free: 6.93 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001292/1.443, allocations: 48 kB / 1.191 GB, free: 6.883 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001986/1.445, allocations: 0.989 MB / 1.192 GB, free: 5.871 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.01e-07/1.445, allocations: 4 kB / 1.192 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003938/1.449, allocations: 0.9883 MB / 1.193 GB, free: 4.879 MB / 0.9512 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 (85): * Single equations (assignments): 81 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003295/1.449, allocations: 143.1 kB / 1.193 GB, free: 4.73 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.007395/1.457, allocations: 4.288 MB / 1.198 GB, free: 400 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/1.457, allocations: 4 kB / 1.198 GB, free: 396 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.004751/1.462, allocations: 2.674 MB / 1.2 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00397/1.466, allocations: 0.7053 MB / 1.201 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02313/1.489, allocations: 11.29 MB / 1.212 GB, free: 1.582 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00661/1.495, allocations: 3.674 MB / 1.215 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007304/1.496, allocations: 127.4 kB / 1.216 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of SimCode: time 1.743e-06/1.496, allocations: 0 / 1.216 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of Templates: time 0.8523/2.348, allocations: 159 MB / 1.371 GB, free: 189.4 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_NCalcHelperMain.o OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_NCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_NCalcHelperMain.o] Error 1