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_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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.777/1.777, allocations: 288.4 MB / 304.3 MB, free: 8.059 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.001258/0.001258, allocations: 184.5 kB / 372.9 MB, free: 10.14 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.506/1.506, allocations: 205.4 MB / 0.6316 GB, free: 9.91 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.0007851/0.0007851, allocations: 90.3 kB / 0.745 GB, free: 5.824 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004144/0.0004145, allocations: 16.69 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.241, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.02592/0.267, allocations: 30.18 MB / 1.01 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0228/0.2899, allocations: 14.01 MB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00421/0.2941, allocations: 143.2 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.2971, allocations: 0.6975 MB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01085/0.308, allocations: 2.49 MB / 1.027 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.00666/0.3147, allocations: 1.502 MB / 1.029 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.01381/0.3285, allocations: 9.804 MB / 1.038 GB, free: 352 kB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01908/0.3476, allocations: 11.36 MB / 1.049 GB, free: 4.875 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007149/0.3548, allocations: 2.938 MB / 1.052 GB, free: 1.926 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0072/0.3621, allocations: 3.383 MB / 1.055 GB, free: 14.53 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.001619/0.3637, allocations: 299.9 kB / 1.056 GB, free: 14.24 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004699/0.3684, allocations: 1.493 MB / 1.057 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.003597/0.3721, allocations: 2.264 MB / 1.059 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.006181/0.3783, allocations: 2.661 MB / 1.062 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.6595/1.038, allocations: 9.192 MB / 1.071 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.916e-05/1.038, allocations: 2.531 kB / 1.071 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.711e-06/1.038, allocations: 0 / 1.071 GB, free: 29.02 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0006231/1.039, allocations: 0.6562 kB / 1.071 GB, free: 29.02 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: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.02823/1.067, allocations: 4.832 MB / 1.076 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.521e-05/1.067, allocations: 9.5 kB / 1.076 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01524/1.082, allocations: 1.144 MB / 1.077 GB, free: 26.77 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01552/1.098, allocations: 3.322 MB / 1.08 GB, free: 26.02 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000984/1.099, allocations: 373.2 kB / 1.08 GB, free: 26.01 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00389/1.103, allocations: 0.4927 MB / 1.081 GB, free: 26 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04044/1.143, allocations: 7.965 MB / 1.089 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000422/1.144, allocations: 24.03 kB / 1.089 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002877/1.147, allocations: 214.3 kB / 1.089 GB, free: 25.14 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001958/1.149, allocations: 438.8 kB / 1.089 GB, free: 25.12 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02494/1.174, allocations: 6.049 MB / 1.095 GB, free: 25.07 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05494/1.229, allocations: 35.22 MB / 1.13 GB, free: 19.17 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003336/1.232, allocations: 2.017 MB / 1.132 GB, free: 19.09 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002795/1.235, allocations: 1.847 MB / 1.133 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/1.235, allocations: 18.19 kB / 1.133 GB, free: 18.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.739e-05/1.235, allocations: 57.5 kB / 1.133 GB, free: 18.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=171): time 4.228e-06/1.235, allocations: 0 / 1.133 GB, free: 18.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=276): time 0.1476/1.383, allocations: 39 MB / 1.172 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.193e-05/1.383, allocations: 81.58 kB / 1.172 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004233/1.387, allocations: 2.262 MB / 1.174 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0006729/1.388, allocations: 73.7 kB / 1.174 GB, free: 8.785 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.00177/1.389, allocations: 2.271 MB / 1.176 GB, free: 6.492 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.001113/1.39, allocations: 0.937 MB / 1.177 GB, free: 5.566 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/1.391, allocations: 60 kB / 1.177 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002334/1.391, allocations: 428.1 kB / 1.178 GB, free: 5.082 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002931/1.394, allocations: 1.958 MB / 1.179 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003431/1.397, allocations: 2.591 MB / 1.182 GB, free: 300 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006995/1.404, allocations: 4.91 MB / 1.187 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/1.404, allocations: 11.5 kB / 1.187 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01531/1.42, allocations: 7.731 MB / 1.194 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.121e-05/1.42, allocations: 15.98 kB / 1.194 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/1.42, allocations: 24.16 kB / 1.194 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009718/1.43, allocations: 3.198 MB / 1.197 GB, free: 340 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00194/1.432, allocations: 399.9 kB / 1.198 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04588/1.477, allocations: 31.11 MB / 1.228 GB, free: 132 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004026/1.482, allocations: 163.8 kB / 1.228 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006636/1.482, allocations: 108 kB / 1.229 GB, free: 15.86 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005024/1.487, allocations: 1.793 MB / 1.23 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001171/1.488, allocations: 343.6 kB / 1.231 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01566/1.504, allocations: 7.34 MB / 1.238 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.503e-05/1.504, allocations: 11.95 kB / 1.238 GB, free: 6.426 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.748e-06/1.504, allocations: 4 kB / 1.238 GB, free: 6.422 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002964/1.507, allocations: 0.8094 MB / 1.239 GB, free: 5.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001034/1.508, allocations: 44 kB / 1.239 GB, free: 5.547 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/1.511, allocations: 135.8 kB / 1.239 GB, free: 5.414 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007699/1.512, allocations: 329.5 kB / 1.239 GB, free: 5.09 MB / 0.7761 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01829/1.53, allocations: 7.947 MB / 1.247 GB, free: 13.16 MB / 0.7917 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01015/1.54, allocations: 6.953 MB / 1.254 GB, free: 6.137 MB / 0.7917 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003063/1.543, allocations: 2.258 MB / 1.256 GB, free: 3.863 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002745/1.546, allocations: 1.502 MB / 1.257 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of Backend: time 4.91e-07/1.546, allocations: 0 / 1.257 GB, free: 2.359 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0141/1.56, allocations: 5.908 MB / 1.263 GB, free: 12.46 MB / 0.8073 GB Notification: Performance of SimCode: time 0.02332/1.583, allocations: 12.95 MB / 1.276 GB, free: 15.51 MB / 0.823 GB Notification: Performance of Templates: time 0.136/1.719, allocations: 75.66 MB / 1.35 GB, free: 4.824 MB / 0.8855 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1)