Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.652/2.652, allocations: 287.3 MB / 302.3 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001541/0.001541, allocations: 188.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.188/2.188, allocations: 205.4 MB / 0.6295 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001173, allocations: 93.61 kB / 0.7428 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004761, allocations: 16.27 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2188, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N): time 0.01467/0.2335, allocations: 10.42 MB / 0.9884 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.009976/0.2435, allocations: 5.158 MB / 0.9934 GB, free: 12.73 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009793/0.2446, allocations: 31.88 kB / 0.9934 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001143/0.2457, allocations: 322.2 kB / 0.9938 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.002005/0.2477, allocations: 0.5529 MB / 0.9943 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00231/0.2501, allocations: 0.5904 MB / 0.9949 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.00205/0.2521, allocations: 1.197 MB / 0.996 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006708/0.2589, allocations: 3.86 MB / 0.9998 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001283/0.2602, allocations: 0.6386 MB / 1 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001318/0.2616, allocations: 0.7358 MB / 1.001 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0002999/0.2619, allocations: 100 kB / 1.001 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001158/0.263, allocations: 323.7 kB / 1.002 GB, free: 4.336 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0007912/0.2639, allocations: 0.686 MB / 1.002 GB, free: 3.648 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004668/0.2643, allocations: 364.9 kB / 1.003 GB, free: 3.285 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004047/0.2684, allocations: 3.242 MB / 1.006 GB, free: 36 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2685, allocations: 0 / 1.006 GB, free: 36 kB / 0.6198 GB Notification: Performance of FrontEnd: time 4.539e-06/0.2685, allocations: 4 kB / 1.006 GB, free: 32 kB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.98e-05/0.2686, allocations: 0 / 1.006 GB, free: 32 kB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006251/0.2748, allocations: 1.773 MB / 1.007 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.2749, allocations: 12.02 kB / 1.007 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005655/0.2806, allocations: 0.7625 MB / 1.008 GB, free: 13.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004231/0.2849, allocations: 1.223 MB / 1.009 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/0.2851, allocations: 131.2 kB / 1.01 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007331/0.2858, allocations: 152 kB / 1.01 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008717/0.2946, allocations: 2.94 MB / 1.013 GB, free: 8.879 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-05/0.2947, allocations: 4 kB / 1.013 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003401/0.2951, allocations: 71.98 kB / 1.013 GB, free: 8.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000748/0.2958, allocations: 207 kB / 1.013 GB, free: 8.602 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007549/0.3034, allocations: 2.499 MB / 1.015 GB, free: 6.098 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02186/0.3253, allocations: 10.89 MB / 1.026 GB, free: 10.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002276/0.3276, allocations: 0.9248 MB / 1.027 GB, free: 9.348 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.3279, allocations: 89.47 kB / 1.027 GB, free: 9.242 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/0.3279, allocations: 38.94 kB / 1.027 GB, free: 9.195 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.777e-06/0.3279, allocations: 4 kB / 1.027 GB, free: 9.191 MB / 0.6511 GB Notification: Performance of matching and sorting (n=70): time 0.05255/0.3805, allocations: 8.967 MB / 1.036 GB, free: 152 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.335e-05/0.3806, allocations: 85.67 kB / 1.036 GB, free: 48 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002146/0.3828, allocations: 0.9415 MB / 1.037 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.00022/0.383, allocations: 37.7 kB / 1.037 GB, free: 15.05 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008051/0.3839, allocations: 0.7736 MB / 1.037 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004187/0.3843, allocations: 240.6 kB / 1.038 GB, free: 14.03 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001493/0.3845, allocations: 20 kB / 1.038 GB, free: 14.01 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002919/0.3848, allocations: 398.8 kB / 1.038 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002365/0.3871, allocations: 0.7989 MB / 1.039 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002777/0.39, allocations: 1.16 MB / 1.04 GB, free: 11.49 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/0.3929, allocations: 0.9908 MB / 1.041 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.636e-05/0.3929, allocations: 4 kB / 1.041 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.01901/0.412, allocations: 3.787 MB / 1.045 GB, free: 6.691 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.00227/0.4143, allocations: 4.269 MB / 1.049 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.795e-05/0.4144, allocations: 12 kB / 1.049 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01635/0.4307, allocations: 2.168 MB / 1.051 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.4325, allocations: 223.6 kB / 1.051 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02991/0.4625, allocations: 10.66 MB / 1.062 GB, free: 4.766 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002584/0.4651, allocations: 203.7 kB / 1.062 GB, free: 4.566 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002166/0.4654, allocations: 47.94 kB / 1.062 GB, free: 4.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.4654, allocations: 4 kB / 1.062 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01482/0.4802, allocations: 3.072 MB / 1.065 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-05/0.4803, allocations: 15.98 kB / 1.065 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01507/0.4954, allocations: 1.365 MB / 1.066 GB, free: 56 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.6483/1.144, allocations: 283.9 kB / 1.066 GB, free: 83.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02066/1.164, allocations: 6.38 MB / 1.073 GB, free: 81.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002238/1.167, allocations: 174.3 kB / 1.073 GB, free: 81.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/1.167, allocations: 47.23 kB / 1.073 GB, free: 81.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (97): * Single equations (assignments): 95 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.00221/1.169, allocations: 0.8987 MB / 1.074 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003405/1.17, allocations: 85.81 kB / 1.074 GB, free: 80.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01705/1.187, allocations: 3.327 MB / 1.077 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/1.187, allocations: 7.125 kB / 1.077 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.477e-05/1.187, allocations: 3.094 kB / 1.077 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.773e-05/1.187, allocations: 5 kB / 1.077 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.209, allocations: 5.481 MB / 1.083 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-05/1.209, allocations: 7.656 kB / 1.083 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009506/1.21, allocations: 109.4 kB / 1.083 GB, free: 78.03 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02329/1.233, allocations: 1.976 MB / 1.085 GB, free: 77.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002778/1.234, allocations: 13.44 kB / 1.085 GB, free: 77.79 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03721/1.271, allocations: 10.06 MB / 1.094 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.058e-05/1.271, allocations: 3.906 kB / 1.094 GB, free: 72.41 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02281/1.294, allocations: 3.299 MB / 1.098 GB, free: 71.37 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001438/1.295, allocations: 337.7 kB / 1.098 GB, free: 71.15 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003887/1.296, allocations: 16.92 kB / 1.098 GB, free: 71.14 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002579/1.298, allocations: 152 kB / 1.098 GB, free: 71.12 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006654/1.299, allocations: 66.12 kB / 1.098 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001606/1.299, allocations: 23.19 kB / 1.098 GB, free: 71.11 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002115/1.301, allocations: 0.6676 MB / 1.099 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.283e-06/1.301, allocations: 3.766 kB / 1.099 GB, free: 70.84 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00546/1.307, allocations: 0.6764 MB / 1.099 GB, free: 70.79 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 40 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 12} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005211/1.307, allocations: 127.2 kB / 1.1 GB, free: 70.69 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01629/1.324, allocations: 3.915 MB / 1.103 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.324, allocations: 1.219 kB / 1.103 GB, free: 68.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.003681/1.327, allocations: 1.314 MB / 1.105 GB, free: 67.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001782/1.329, allocations: 233.5 kB / 1.105 GB, free: 67.83 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/1.339, allocations: 4.078 MB / 1.109 GB, free: 65.32 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00389/1.343, allocations: 1.756 MB / 1.111 GB, free: 64.08 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00246/1.345, allocations: 0.5158 MB / 1.111 GB, free: 63.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/1.346, allocations: 59.36 kB / 1.111 GB, free: 63.85 MB / 0.6823 GB Notification: Performance of SimCode: time 1.072e-06/1.346, allocations: 0 / 1.111 GB, free: 63.85 MB / 0.6823 GB Notification: Performance of Templates: time 0.0642/1.41, allocations: 29.39 MB / 1.14 GB, free: 40.14 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N.pipe 2>&1)