Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.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.00129/0.00129, allocations: 110.9 kB / 16.36 MB, free: 6.016 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.001138/0.001138, allocations: 194.9 kB / 17.3 MB, free: 5.613 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.378/1.378, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.862/1.862, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001475/0.001476, allocations: 67.91 kB / 0.6729 GB, free: 5.801 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2228, allocations: 114.6 MB / 0.7848 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.3684/0.5912, allocations: 6.116 MB / 0.7908 GB, free: 46.86 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003923/0.5952, allocations: 3.232 MB / 0.7939 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003711/0.5956, allocations: 30.09 kB / 0.794 GB, free: 45.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002008/0.5976, allocations: 0.9222 MB / 0.7949 GB, free: 45.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0009434/0.5986, allocations: 473.6 kB / 0.7953 GB, free: 45.37 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009882/0.5996, allocations: 0.5028 MB / 0.7958 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008692/0.6004, allocations: 1.098 MB / 0.7969 GB, free: 44.9 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000724/0.6012, allocations: 0.6413 MB / 0.7975 GB, free: 44.69 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004121/0.6016, allocations: 436.9 kB / 0.7979 GB, free: 44.5 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004759/0.6021, allocations: 478.2 kB / 0.7984 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.155e-05/0.6022, allocations: 56.88 kB / 0.7984 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007569/0.6029, allocations: 480.2 kB / 0.7989 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0002216/0.6032, allocations: 296.2 kB / 0.7992 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002922/0.6035, allocations: 411.9 kB / 0.7996 GB, free: 43.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.6046, allocations: 1.175 MB / 0.8007 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.6046, allocations: 2.094 kB / 0.8007 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.543e-06/0.6046, allocations: 0 / 0.8007 GB, free: 43.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.457e-05/0.6046, allocations: 0.7031 kB / 0.8007 GB, free: 43.36 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001544/0.6062, allocations: 1.06 MB / 0.8017 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.6063, allocations: 11.47 kB / 0.8017 GB, free: 42.59 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001788/0.608, allocations: 221.7 kB / 0.802 GB, free: 42.54 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.6092, allocations: 0.5364 MB / 0.8025 GB, free: 42.17 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.464e-05/0.6093, allocations: 55.47 kB / 0.8025 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.6095, allocations: 61.39 kB / 0.8026 GB, free: 42.13 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001775/0.6112, allocations: 1.037 MB / 0.8036 GB, free: 41.51 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.6113, allocations: 12.02 kB / 0.8036 GB, free: 41.5 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.6114, allocations: 29.98 kB / 0.8036 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.6115, allocations: 68.62 kB / 0.8037 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.6127, allocations: 0.6918 MB / 0.8044 GB, free: 41.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004722/0.6175, allocations: 5.725 MB / 0.81 GB, free: 36.28 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009265/0.6184, allocations: 0.6029 MB / 0.8106 GB, free: 35.91 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008638/0.6193, allocations: 421.2 kB / 0.811 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.936e-05/0.6194, allocations: 4.438 kB / 0.811 GB, free: 35.77 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.6194, allocations: 45.88 kB / 0.811 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=41): time 2.745e-06/0.6194, allocations: 0 / 0.811 GB, free: 35.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=42): time 0.004642/0.624, allocations: 2.051 MB / 0.813 GB, free: 34.67 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.6241, allocations: 55.72 kB / 0.8131 GB, free: 34.61 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007982/0.6249, allocations: 465.2 kB / 0.8135 GB, free: 34.39 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.218e-05/0.625, allocations: 32.39 kB / 0.8135 GB, free: 34.36 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003/0.6253, allocations: 393.6 kB / 0.8139 GB, free: 34.04 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001884/0.6255, allocations: 142.8 kB / 0.8141 GB, free: 33.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002445/0.6258, allocations: 117.4 kB / 0.8142 GB, free: 33.87 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6259, allocations: 364.5 kB / 0.8145 GB, free: 33.53 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005109/0.6265, allocations: 248.4 kB / 0.8148 GB, free: 33.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.627, allocations: 453.6 kB / 0.8152 GB, free: 33.1 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009122/0.628, allocations: 0.7555 MB / 0.8159 GB, free: 32.58 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.628, allocations: 3 kB / 0.8159 GB, free: 32.58 MB / 0.6544 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002197/0.6302, allocations: 1.071 MB / 0.817 GB, free: 32.13 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.6302, allocations: 8.406 kB / 0.817 GB, free: 32.13 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.924e-05/0.6302, allocations: 7.406 kB / 0.817 GB, free: 32.13 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.6314, allocations: 330.6 kB / 0.8173 GB, free: 32.03 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003575/0.6317, allocations: 94.03 kB / 0.8174 GB, free: 32.02 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006349/0.6381, allocations: 7.527 MB / 0.8247 GB, free: 25.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005703/0.6387, allocations: 30.16 kB / 0.8248 GB, free: 25.64 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.347e-05/0.6387, allocations: 25.8 kB / 0.8248 GB, free: 25.63 MB / 0.6544 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003482/0.6391, allocations: 252.3 kB / 0.825 GB, free: 25.45 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.369e-05/0.6392, allocations: 64.91 kB / 0.8251 GB, free: 25.41 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001735/0.6409, allocations: 0.9052 MB / 0.826 GB, free: 25.03 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.641, allocations: 6.906 kB / 0.826 GB, free: 25.03 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.641, allocations: 4.188 kB / 0.826 GB, free: 25.03 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.572e-06/0.641, allocations: 5.781 kB / 0.826 GB, free: 25.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002832/0.6438, allocations: 1.708 MB / 0.8277 GB, free: 24.16 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.6439, allocations: 5.969 kB / 0.8277 GB, free: 24.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.644, allocations: 42.33 kB / 0.8277 GB, free: 24.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009413/0.645, allocations: 324.1 kB / 0.828 GB, free: 24.05 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.527e-05/0.645, allocations: 16.19 kB / 0.828 GB, free: 24.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006252/0.6513, allocations: 7.505 MB / 0.8354 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.6513, allocations: 3.078 kB / 0.8354 GB, free: 17.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.6532, allocations: 1.016 MB / 0.8364 GB, free: 17.14 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003655/0.6536, allocations: 175.2 kB / 0.8365 GB, free: 17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.654e-05/0.6537, allocations: 8.5 kB / 0.8365 GB, free: 17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002881/0.654, allocations: 26.94 kB / 0.8366 GB, free: 16.99 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.6542, allocations: 39.58 kB / 0.8366 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.6542, allocations: 14 kB / 0.8366 GB, free: 16.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000433/0.6547, allocations: 312 kB / 0.8369 GB, free: 16.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6547, allocations: 0 / 0.8369 GB, free: 16.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009716/0.6556, allocations: 198.7 kB / 0.8371 GB, free: 16.81 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001349/0.6558, allocations: 112 kB / 0.8372 GB, free: 16.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.6576, allocations: 1.213 MB / 0.8384 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6577, allocations: 0 / 0.8384 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.6588, allocations: 0.8603 MB / 0.8392 GB, free: 15.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001006/0.6598, allocations: 207.9 kB / 0.8394 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001951/0.6618, allocations: 1.232 MB / 0.8406 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.6623, allocations: 0.991 MB / 0.8416 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0003154/0.6627, allocations: 99.38 kB / 0.8417 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.283e-05/0.6627, allocations: 35.61 kB / 0.8417 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/0.6627, allocations: 0 / 0.8417 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of Templates: time 0.01935/0.6821, allocations: 9.972 MB / 0.8515 GB, free: 11.63 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)