Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_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.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.834/2.834, allocations: 287.5 MB / 302.4 MB, free: 8.32 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.001373/0.001372, allocations: 186.4 kB / 371 MB, free: 10.89 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.208/2.208, allocations: 205.4 MB / 0.6297 GB, free: 10.66 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.0009385/0.0009384, allocations: 92.84 kB / 0.743 GB, free: 6.652 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005016/0.0005018, allocations: 13.52 kB / 0.8658 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2307, allocations: 115.3 MB / 0.9784 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.04647/0.2772, allocations: 31.64 MB / 1.009 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.02947/0.3067, allocations: 11.04 MB / 1.02 GB, free: 1.594 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003846/0.3107, allocations: 143.2 kB / 1.02 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.003666/0.3144, allocations: 0.6743 MB / 1.021 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007143/0.3216, allocations: 1.578 MB / 1.022 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.007253/0.3289, allocations: 1.44 MB / 1.024 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01725/0.3462, allocations: 9.626 MB / 1.033 GB, free: 4.098 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03376/0.38, allocations: 12.56 MB / 1.045 GB, free: 7.461 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007632/0.3877, allocations: 2.65 MB / 1.048 GB, free: 4.801 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008955/0.3967, allocations: 3.473 MB / 1.051 GB, free: 1.316 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002278/0.3991, allocations: 328 kB / 1.052 GB, free: 0.9961 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005874/0.405, allocations: 0.9715 MB / 1.053 GB, free: 24 kB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.005622/0.4107, allocations: 2.444 MB / 1.055 GB, free: 13.57 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.003227/0.414, allocations: 1.112 MB / 1.056 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.01787/0.4319, allocations: 9.923 MB / 1.066 GB, free: 2.504 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.128e-05/0.4319, allocations: 4 kB / 1.066 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.607e-06/0.432, allocations: 0 / 1.066 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004074/0.4324, allocations: 0 / 1.066 GB, free: 2.5 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: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.7022/1.135, allocations: 4.708 MB / 1.07 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.135, allocations: 10.12 kB / 1.07 GB, free: 41.3 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/1.145, allocations: 1.064 MB / 1.072 GB, free: 41 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01197/1.157, allocations: 3.198 MB / 1.075 GB, free: 40.4 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008513/1.158, allocations: 413.4 kB / 1.075 GB, free: 40.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002907/1.161, allocations: 0.5457 MB / 1.076 GB, free: 40.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0347/1.196, allocations: 9.033 MB / 1.084 GB, free: 39.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003823/1.196, allocations: 28.23 kB / 1.084 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002113/1.198, allocations: 234.5 kB / 1.085 GB, free: 39.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006879/1.199, allocations: 348.8 kB / 1.085 GB, free: 39.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02338/1.222, allocations: 6.783 MB / 1.092 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06395/1.286, allocations: 40.18 MB / 1.131 GB, free: 9.855 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00666/1.293, allocations: 3.101 MB / 1.134 GB, free: 7.766 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004812/1.298, allocations: 1.954 MB / 1.136 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002308/1.298, allocations: 18.97 kB / 1.136 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/1.298, allocations: 54.03 kB / 1.136 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=179): time 5.23e-06/1.298, allocations: 0 / 1.136 GB, free: 6.699 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.04324/1.342, allocations: 9.882 MB / 1.145 GB, free: 1.121 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.241e-05/1.342, allocations: 71.06 kB / 1.146 GB, free: 1.059 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003079/1.345, allocations: 1.514 MB / 1.147 GB, free: 192 kB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004153/1.345, allocations: 58.89 kB / 1.147 GB, free: 136 kB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/1.348, allocations: 2.248 MB / 1.149 GB, free: 14.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001145/1.349, allocations: 0.6325 MB / 1.15 GB, free: 13.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002145/1.349, allocations: 45.84 kB / 1.15 GB, free: 13.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002605/1.349, allocations: 394.4 kB / 1.15 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002898/1.352, allocations: 1.168 MB / 1.151 GB, free: 12.61 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003633/1.356, allocations: 1.876 MB / 1.153 GB, free: 11.06 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/1.36, allocations: 1.51 MB / 1.155 GB, free: 10.27 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.041e-05/1.36, allocations: 3.938 kB / 1.155 GB, free: 10.27 MB / 0.698 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.01399/1.374, allocations: 4.561 MB / 1.159 GB, free: 6.508 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.66e-05/1.374, allocations: 12.22 kB / 1.159 GB, free: 6.496 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.725e-05/1.374, allocations: 31.98 kB / 1.159 GB, free: 6.465 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007072/1.381, allocations: 1.591 MB / 1.161 GB, free: 4.871 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002636/1.384, allocations: 352 kB / 1.161 GB, free: 4.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0389/1.423, allocations: 17.04 MB / 1.178 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002829/1.426, allocations: 119.9 kB / 1.178 GB, free: 2.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003863/1.426, allocations: 92 kB / 1.178 GB, free: 2.828 MB / 0.7136 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.005825/1.432, allocations: 1.9 MB / 1.18 GB, free: 0.9414 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008841/1.433, allocations: 227.5 kB / 1.18 GB, free: 0.7188 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01309/1.446, allocations: 4.076 MB / 1.184 GB, free: 12.67 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.568e-05/1.446, allocations: 16 kB / 1.184 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.571e-05/1.446, allocations: 20 kB / 1.184 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.674e-05/1.446, allocations: 11.97 kB / 1.184 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02869/1.475, allocations: 9.439 MB / 1.193 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/1.475, allocations: 4 kB / 1.193 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001757/1.477, allocations: 183 kB / 1.194 GB, free: 2.887 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006736/1.483, allocations: 1.35 MB / 1.195 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004038/1.484, allocations: 40 kB / 1.195 GB, free: 1.488 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03529/1.519, allocations: 15.94 MB / 1.21 GB, free: 1.059 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.139e-05/1.519, allocations: 11.33 kB / 1.21 GB, free: 1.051 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01228/1.532, allocations: 4.049 MB / 1.214 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.534, allocations: 0.5296 MB / 1.215 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006165/1.534, allocations: 36 kB / 1.215 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/1.536, allocations: 91.84 kB / 1.215 GB, free: 12.29 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006043/1.537, allocations: 153 kB / 1.215 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001872/1.537, allocations: 52 kB / 1.215 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002209/1.539, allocations: 0.9953 MB / 1.216 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.62e-07/1.539, allocations: 0 / 1.216 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.005396/1.545, allocations: 0.9844 MB / 1.217 GB, free: 10.1 MB / 0.7605 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.0005652/1.545, allocations: 146.2 kB / 1.217 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01213/1.557, allocations: 4.288 MB / 1.221 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/1.557, allocations: 0 / 1.221 GB, free: 5.688 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.008142/1.566, allocations: 2.672 MB / 1.224 GB, free: 3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006821/1.572, allocations: 0.7043 MB / 1.225 GB, free: 2.301 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02738/1.6, allocations: 10.54 MB / 1.235 GB, free: 7.715 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008582/1.609, allocations: 3.576 MB / 1.239 GB, free: 4.109 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002623/1.611, allocations: 463.9 kB / 1.239 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006442/1.612, allocations: 111.4 kB / 1.239 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of SimCode: time 1.603e-06/1.612, allocations: 0 / 1.239 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of Templates: time 0.1238/1.736, allocations: 40.81 MB / 1.279 GB, free: 11.22 MB / 0.823 GB make -j1 -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.makefile (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & ./Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)