Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000787/0.0007868, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.0009765/0.0009764, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.569/1.569, allocations: 205.4 MB / 222.1 MB, free: 5.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 292.7 MB / 0.5499 GB, free: 14.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005427/0.0005427, allocations: 20.39 kB / 0.6737 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2786, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.03371/0.3124, allocations: 34.21 MB / 0.8207 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02149/0.3339, allocations: 12.44 MB / 0.8329 GB, free: 13.15 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0038/0.3378, allocations: 147.1 kB / 0.833 GB, free: 13 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.3402, allocations: 0.7402 MB / 0.8337 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006391/0.3466, allocations: 2.06 MB / 0.8357 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.006668/0.3532, allocations: 1.622 MB / 0.8373 GB, free: 8.566 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01519/0.3685, allocations: 10.64 MB / 0.8477 GB, free: 13.9 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01896/0.3875, allocations: 11.43 MB / 0.8589 GB, free: 2.383 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006775/0.3943, allocations: 2.961 MB / 0.8618 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00763/0.402, allocations: 3.777 MB / 0.8654 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001562/0.4036, allocations: 320 kB / 0.8657 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003697/0.4073, allocations: 0.7805 MB / 0.8665 GB, free: 10.53 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.003792/0.4111, allocations: 2.447 MB / 0.8689 GB, free: 8.074 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002792/0.4139, allocations: 1.175 MB / 0.87 GB, free: 6.891 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01253/0.4264, allocations: 9.732 MB / 0.8795 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.724e-06/0.4265, allocations: 0 / 0.8795 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.148e-05/0.4265, allocations: 3.984 kB / 0.8796 GB, free: 13.13 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0003803/0.4269, allocations: 0 / 0.8796 GB, free: 13.13 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.01454/0.4414, allocations: 5.197 MB / 0.8846 GB, free: 7.859 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.4415, allocations: 11.97 kB / 0.8846 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008463/0.45, allocations: 1.308 MB / 0.8859 GB, free: 6.531 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007127/0.4571, allocations: 3.475 MB / 0.8893 GB, free: 2.98 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003557/0.4575, allocations: 382.1 kB / 0.8897 GB, free: 2.605 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001834/0.4594, allocations: 0.4959 MB / 0.8902 GB, free: 2.109 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01918/0.4786, allocations: 8.843 MB / 0.8988 GB, free: 8.91 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001723/0.4788, allocations: 31.62 kB / 0.8988 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008454/0.4796, allocations: 223.9 kB / 0.899 GB, free: 8.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001782/0.4814, allocations: 0.6343 MB / 0.8997 GB, free: 8.023 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01738/0.4988, allocations: 6.975 MB / 0.9065 GB, free: 1.035 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5272/1.026, allocations: 40.41 MB / 0.9459 GB, free: 74.95 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004882/1.031, allocations: 2.877 MB / 0.9487 GB, free: 73.68 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003734/1.035, allocations: 2.664 MB / 0.9513 GB, free: 72.41 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002425/1.035, allocations: 28.7 kB / 0.9514 GB, free: 72.41 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/1.035, allocations: 67.44 kB / 0.9514 GB, free: 72.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 4.198e-06/1.035, allocations: 0 / 0.9514 GB, free: 72.34 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.2454/1.28, allocations: 77.41 MB / 1.027 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.362e-05/1.281, allocations: 98.67 kB / 1.027 GB, free: 8.59 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003162/1.284, allocations: 2.34 MB / 1.029 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006971/1.284, allocations: 97.7 kB / 1.03 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001052/1.285, allocations: 2.33 MB / 1.032 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.001203/1.287, allocations: 1.438 MB / 1.033 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003351/1.287, allocations: 88 kB / 1.033 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001978/1.287, allocations: 483.3 kB / 1.034 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003985/1.291, allocations: 2.977 MB / 1.037 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005232/1.296, allocations: 3.824 MB / 1.04 GB, free: 10.65 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005737/1.302, allocations: 3.554 MB / 1.044 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/1.302, allocations: 8 kB / 1.044 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02963/1.332, allocations: 12.5 MB / 1.056 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 4.252e-05/1.332, allocations: 16 kB / 1.056 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.728e-05/1.332, allocations: 23.95 kB / 1.056 GB, free: 10.44 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02091/1.353, allocations: 6.011 MB / 1.062 GB, free: 4.367 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002155/1.355, allocations: 499.1 kB / 1.062 GB, free: 3.879 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08281/1.438, allocations: 67.19 MB / 1.128 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004184/1.442, allocations: 211.8 kB / 1.128 GB, free: 13.33 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000964/1.443, allocations: 160 kB / 1.128 GB, free: 13.18 MB / 0.8262 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 (269): * Single equations (assignments): 245 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(2,100.0%) 2,(1,100.0%) 1,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(3,100.0%) 15,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004585/1.448, allocations: 1.997 MB / 1.13 GB, free: 11.17 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001371/1.449, allocations: 391.4 kB / 1.131 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02701/1.476, allocations: 12.18 MB / 1.143 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-05/1.476, allocations: 40 kB / 1.143 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001279/1.476, allocations: 48 kB / 1.143 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.612e-05/1.476, allocations: 19.92 kB / 1.143 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03916/1.516, allocations: 19.13 MB / 1.161 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/1.516, allocations: 8 kB / 1.161 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/1.517, allocations: 288 kB / 1.162 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01879/1.536, allocations: 5.563 MB / 1.167 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006137/1.537, allocations: 80 kB / 1.167 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07644/1.613, allocations: 64.81 MB / 1.23 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.418e-06/1.613, allocations: 11.94 kB / 1.231 GB, free: 1.094 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0302/1.643, allocations: 15.56 MB / 1.246 GB, free: 1.305 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002901/1.646, allocations: 1.043 MB / 1.247 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001329/1.648, allocations: 83.98 kB / 1.247 GB, free: 160 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002968/1.651, allocations: 216.6 kB / 1.247 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001854/1.653, allocations: 410.3 kB / 1.247 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006066/1.653, allocations: 108 kB / 1.248 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.003573/1.657, allocations: 1.533 MB / 1.249 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of sort global known variables: time 4.21e-07/1.657, allocations: 0 / 1.249 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.00931/1.666, allocations: 1.859 MB / 1.251 GB, free: 12.05 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * 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: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 24 {(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 15,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(2,100.0%) 8,(3,100.0%) 15,(4,100.0%) 16,(4,100.0%) 16,(4,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000838/1.667, allocations: 218.7 kB / 1.251 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.4332/2.1, allocations: 12.18 MB / 1.263 GB, free: 311.1 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.454e-05/2.1, allocations: 1.906 kB / 1.263 GB, free: 311.1 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0156/2.116, allocations: 8.374 MB / 1.271 GB, free: 308.3 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005452/2.121, allocations: 1.101 MB / 1.272 GB, free: 308.3 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02494/2.146, allocations: 14.26 MB / 1.286 GB, free: 303 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007695/2.154, allocations: 4.09 MB / 1.29 GB, free: 302.1 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003449/2.158, allocations: 0.6679 MB / 1.291 GB, free: 301.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006156/2.158, allocations: 181.4 kB / 1.291 GB, free: 301.9 MB / 0.9512 GB Notification: Performance of SimCode: time 1.332e-06/2.158, allocations: 0 / 1.291 GB, free: 301.9 MB / 0.9512 GB Notification: Performance of Templates: time 0.1453/2.304, allocations: 102.6 MB / 1.391 GB, free: 228.4 MB / 0.9512 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) Environment - environmentSimulation: