Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008875/0.0008871, allocations: 91.69 kB / 15.36 MB, free: 0.7383 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.006488/0.006488, allocations: 174.1 kB / 16.27 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.84/2.84, allocations: 473.4 MB / 0.7469 GB, free: 6.039 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003463/0.0003463, allocations: 10.66 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.3693, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01116/0.3805, allocations: 9.541 MB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.006001/0.3865, allocations: 3.014 MB / 1.086 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000905/0.3875, allocations: 27.88 kB / 1.086 GB, free: 10.91 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0005795/0.3881, allocations: 182.6 kB / 1.087 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.001724/0.3898, allocations: 0.6537 MB / 1.087 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001445/0.3913, allocations: 0.5488 MB / 1.088 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004263/0.3955, allocations: 4.064 MB / 1.092 GB, free: 5.449 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004944/0.4005, allocations: 3.114 MB / 1.095 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.4025, allocations: 0.8405 MB / 1.096 GB, free: 1.434 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002051/0.4045, allocations: 1.273 MB / 1.097 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001969/0.4048, allocations: 100 kB / 1.097 GB, free: 60 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009988/0.4058, allocations: 455.2 kB / 1.097 GB, free: 15.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0008409/0.4066, allocations: 0.8457 MB / 1.098 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009397/0.4076, allocations: 0.8802 MB / 1.099 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.003058/0.4106, allocations: 3.259 MB / 1.102 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.4106, allocations: 0 / 1.102 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.475e-06/0.4107, allocations: 4 kB / 1.102 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.662e-05/0.4107, allocations: 4 kB / 1.102 GB, free: 10.6 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003336/0.4141, allocations: 1.6 MB / 1.104 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.4141, allocations: 8.031 kB / 1.104 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005929/0.42, allocations: 0.8805 MB / 1.105 GB, free: 8.051 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002199/0.4223, allocations: 1.122 MB / 1.106 GB, free: 6.883 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.353e-05/0.4224, allocations: 115.3 kB / 1.106 GB, free: 6.77 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.4227, allocations: 144.3 kB / 1.106 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005011/0.4277, allocations: 3.017 MB / 1.109 GB, free: 3.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/0.4278, allocations: 7.938 kB / 1.109 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001883/0.428, allocations: 55.98 kB / 1.109 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002385/0.4282, allocations: 175 kB / 1.109 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004284/0.4325, allocations: 2.608 MB / 1.112 GB, free: 0.6641 MB / 0.8575 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01748/0.45, allocations: 13.54 MB / 1.125 GB, free: 2.027 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001933/0.452, allocations: 1.291 MB / 1.126 GB, free: 0.7188 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/0.4533, allocations: 1.058 MB / 1.127 GB, free: 15.66 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.17e-05/0.4534, allocations: 8.656 kB / 1.127 GB, free: 15.65 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.917e-05/0.4535, allocations: 43.22 kB / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=82): time 3.186e-06/0.4535, allocations: 0 / 1.127 GB, free: 15.6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=139): time 0.07715/0.5306, allocations: 19.48 MB / 1.146 GB, free: 11.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.324e-05/0.5307, allocations: 68.72 kB / 1.146 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.5321, allocations: 0.9183 MB / 1.147 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.5324, allocations: 49.7 kB / 1.147 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005572/0.533, allocations: 0.7244 MB / 1.148 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005747/0.5336, allocations: 489 kB / 1.149 GB, free: 9.688 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002346/0.5338, allocations: 133.6 kB / 1.149 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.534, allocations: 353.9 kB / 1.149 GB, free: 9.199 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001995/0.536, allocations: 1.331 MB / 1.15 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002225/0.5382, allocations: 1.659 MB / 1.152 GB, free: 6.094 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004333/0.5426, allocations: 3.092 MB / 1.155 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.5426, allocations: 0 / 1.155 GB, free: 2.883 MB / 0.9044 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01237/0.555, allocations: 5.638 MB / 1.16 GB, free: 13.22 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.507e-05/0.555, allocations: 8 kB / 1.16 GB, free: 13.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/0.5551, allocations: 11.94 kB / 1.16 GB, free: 13.2 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009241/0.5643, allocations: 2.724 MB / 1.163 GB, free: 10.46 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008974/0.5652, allocations: 187.7 kB / 1.163 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03503/0.6003, allocations: 23.33 MB / 1.186 GB, free: 2.406 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/0.602, allocations: 95.94 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001531/0.6022, allocations: 63.92 kB / 1.186 GB, free: 2.25 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * 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 {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00138/0.6036, allocations: 0.7444 MB / 1.187 GB, free: 1.496 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002634/0.6038, allocations: 114.6 kB / 1.187 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01196/0.6158, allocations: 5.392 MB / 1.192 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.065e-05/0.6159, allocations: 12 kB / 1.192 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.236e-05/0.6159, allocations: 20 kB / 1.192 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.221e-05/0.6159, allocations: 3.984 kB / 1.192 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01694/0.6329, allocations: 8.621 MB / 1.201 GB, free: 3.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/0.6329, allocations: 4 kB / 1.201 GB, free: 3.176 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000482/0.6334, allocations: 115.8 kB / 1.201 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008758/0.6422, allocations: 2.555 MB / 1.203 GB, free: 0.4961 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001858/0.6424, allocations: 24 kB / 1.203 GB, free: 484 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03285/0.6753, allocations: 20.87 MB / 1.224 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.6753, allocations: 4 kB / 1.224 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01164/0.687, allocations: 5.13 MB / 1.229 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.6882, allocations: 479.6 kB / 1.229 GB, free: 5.355 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000234/0.6885, allocations: 32.38 kB / 1.229 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.6895, allocations: 75.89 kB / 1.229 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006639/0.6902, allocations: 121 kB / 1.229 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000115/0.6903, allocations: 40 kB / 1.23 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009915/0.6913, allocations: 0.6434 MB / 1.23 GB, free: 4.449 MB / 0.9825 GB Notification: Performance of sort global known variables: time 4.71e-07/0.6913, allocations: 4 kB / 1.23 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002822/0.6941, allocations: 0.7227 MB / 1.231 GB, free: 3.723 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * 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 {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002914/0.6944, allocations: 131.2 kB / 1.231 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007557/0.702, allocations: 4.151 MB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.702, allocations: 4 kB / 1.235 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005443/0.7075, allocations: 2.658 MB / 1.238 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001902/0.7094, allocations: 212.4 kB / 1.238 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006985/0.7164, allocations: 4.685 MB / 1.242 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001805/0.7182, allocations: 1.708 MB / 1.244 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0008461/0.7191, allocations: 329.4 kB / 1.244 GB, free: 5.652 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001768/0.7193, allocations: 59.38 kB / 1.244 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of SimCode: time 6.61e-07/0.7193, allocations: 0 / 1.244 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of Templates: time 0.7132/1.433, allocations: 36.72 MB / 1.28 GB, free: 159.4 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)