Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.719/1.719, allocations: 288.4 MB / 303.7 MB, free: 8.082 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.001041/0.001041, allocations: 187 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.737/1.737, allocations: 205.4 MB / 0.631 GB, free: 9.906 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.0008108/0.0008109, allocations: 101 kB / 0.7444 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004201/0.0004202, allocations: 15.91 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.235, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.03051/0.2655, allocations: 34.48 MB / 1.014 GB, free: 8.77 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01919/0.2847, allocations: 10.59 MB / 1.024 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004234/0.289, allocations: 135.2 kB / 1.024 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.003494/0.2926, allocations: 0.7596 MB / 1.025 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006593/0.2992, allocations: 1.908 MB / 1.027 GB, free: 11.33 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.005312/0.3045, allocations: 1.339 MB / 1.028 GB, free: 9.992 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01375/0.3183, allocations: 10.45 MB / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02575/0.3441, allocations: 14.24 MB / 1.052 GB, free: 1.168 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006244/0.3504, allocations: 2.876 MB / 1.055 GB, free: 14.28 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007038/0.3574, allocations: 3.773 MB / 1.059 GB, free: 10.49 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001985/0.3595, allocations: 348 kB / 1.059 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004415/0.3639, allocations: 1.279 MB / 1.06 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.004444/0.3684, allocations: 2.517 MB / 1.063 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006845/0.3752, allocations: 2.841 MB / 1.066 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.5636/0.9389, allocations: 10.21 MB / 1.076 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 8.797e-06/0.939, allocations: 2.516 kB / 1.076 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.186e-06/0.939, allocations: 0 / 1.076 GB, free: 31.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005787/0.9396, allocations: 0.875 kB / 1.076 GB, free: 31.7 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01766/0.9572, allocations: 5.085 MB / 1.081 GB, free: 29.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.534e-05/0.9573, allocations: 8.781 kB / 1.081 GB, free: 29.63 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009399/0.9667, allocations: 1.068 MB / 1.082 GB, free: 29.31 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.9773, allocations: 3.425 MB / 1.085 GB, free: 28.61 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005483/0.9779, allocations: 425.8 kB / 1.085 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003283/0.9812, allocations: 0.5424 MB / 1.086 GB, free: 28.59 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02586/1.007, allocations: 9.328 MB / 1.095 GB, free: 27.53 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004326/1.008, allocations: 22.41 kB / 1.095 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002788/1.01, allocations: 248.1 kB / 1.095 GB, free: 27.52 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009585/1.011, allocations: 422.2 kB / 1.096 GB, free: 27.51 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01931/1.031, allocations: 7.077 MB / 1.103 GB, free: 27.46 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05549/1.086, allocations: 41.37 MB / 1.143 GB, free: 13.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006267/1.092, allocations: 3.098 MB / 1.146 GB, free: 11.5 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004417/1.097, allocations: 2.12 MB / 1.148 GB, free: 10.4 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003012/1.097, allocations: 26.28 kB / 1.148 GB, free: 10.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/1.097, allocations: 62.55 kB / 1.148 GB, free: 10.34 MB / 0.698 GB Notification: Performance of pre-optimization done (n=209): time 1.024e-05/1.097, allocations: 0 / 1.148 GB, free: 10.34 MB / 0.698 GB Notification: Performance of matching and sorting (n=212): time 0.03055/1.128, allocations: 10.58 MB / 1.158 GB, free: 4.395 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/1.128, allocations: 84.08 kB / 1.159 GB, free: 4.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004639/1.133, allocations: 1.986 MB / 1.161 GB, free: 3.234 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0006047/1.133, allocations: 61.7 kB / 1.161 GB, free: 3.176 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.002158/1.136, allocations: 2.402 MB / 1.163 GB, free: 1.07 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001397/1.137, allocations: 0.7313 MB / 1.164 GB, free: 448 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000395/1.137, allocations: 51.5 kB / 1.164 GB, free: 408 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002972/1.138, allocations: 412.7 kB / 1.164 GB, free: 20 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002609/1.14, allocations: 1.366 MB / 1.165 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002946/1.143, allocations: 2.093 MB / 1.167 GB, free: 13.65 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00583/1.149, allocations: 3.755 MB / 1.171 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.077e-05/1.149, allocations: 7.469 kB / 1.171 GB, free: 11.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009859/1.159, allocations: 5.04 MB / 1.176 GB, free: 8.645 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.775e-05/1.159, allocations: 16 kB / 1.176 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.663e-05/1.159, allocations: 24 kB / 1.176 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004362/1.164, allocations: 1.562 MB / 1.178 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002317/1.166, allocations: 447.9 kB / 1.178 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0238/1.19, allocations: 17.08 MB / 1.195 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003182/1.193, allocations: 150.2 kB / 1.195 GB, free: 4.926 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006351/1.194, allocations: 108 kB / 1.195 GB, free: 4.82 MB / 0.7292 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 (231): * Single equations (assignments): 227 * 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,69.4%) 32,(6,66.7%) 24,(4,100.0%) 18,(4,100.0%) 18} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005026/1.199, allocations: 1.952 MB / 1.197 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001159/1.2, allocations: 288.6 kB / 1.197 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008405/1.208, allocations: 4.437 MB / 1.201 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.208, allocations: 20 kB / 1.201 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.512e-05/1.208, allocations: 20 kB / 1.202 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-05/1.208, allocations: 7.969 kB / 1.202 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02388/1.232, allocations: 9.663 MB / 1.211 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/1.233, allocations: 4 kB / 1.211 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001568/1.234, allocations: 229.8 kB / 1.211 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004134/1.238, allocations: 1.43 MB / 1.213 GB, free: 2.82 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005543/1.239, allocations: 40 kB / 1.213 GB, free: 2.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02363/1.263, allocations: 17.08 MB / 1.229 GB, free: 1.215 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/1.263, allocations: 7 kB / 1.229 GB, free: 1.211 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009013/1.272, allocations: 4.52 MB / 1.234 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002663/1.274, allocations: 0.6343 MB / 1.234 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001293/1.276, allocations: 47.98 kB / 1.234 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002548/1.278, allocations: 111.9 kB / 1.234 GB, free: 11.86 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008459/1.279, allocations: 180.6 kB / 1.235 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002492/1.279, allocations: 60 kB / 1.235 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.00298/1.282, allocations: 1.299 MB / 1.236 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.773e-06/1.282, allocations: 0 / 1.236 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00547/1.288, allocations: 1.144 MB / 1.237 GB, free: 9.172 MB / 0.7761 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 (107): * Single equations (assignments): 103 * 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 {(4,100.0%) 18,(6,66.7%) 24,(4,100.0%) 18,(6,66.7%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005004/1.288, allocations: 161 kB / 1.237 GB, free: 9.016 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.008806/1.297, allocations: 4.672 MB / 1.242 GB, free: 4.371 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.427e-05/1.297, allocations: 6.234 kB / 1.242 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.005296/1.303, allocations: 2.925 MB / 1.245 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007986/1.311, allocations: 0.8172 MB / 1.245 GB, free: 0.6133 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/1.335, allocations: 11.22 MB / 1.256 GB, free: 5.344 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005171/1.34, allocations: 3.69 MB / 1.26 GB, free: 1.621 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002623/1.342, allocations: 0.5556 MB / 1.261 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004329/1.343, allocations: 147.4 kB / 1.261 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of SimCode: time 9.72e-07/1.343, allocations: 0 / 1.261 GB, free: 0.918 MB / 0.7917 GB Notification: Performance of Templates: time 0.09383/1.437, allocations: 49.39 MB / 1.309 GB, free: 248 kB / 0.8386 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1)