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.001455/0.001455, allocations: 105 kB / 16.36 MB, free: 6.426 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.001646/0.001646, allocations: 195.5 kB / 17.3 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.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.794/1.794, allocations: 292.3 MB / 0.5496 GB, free: 17.42 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.001452/0.001452, allocations: 63.91 kB / 0.6729 GB, free: 5.766 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2704, allocations: 114.6 MB / 0.7848 GB, free: 3.102 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.4354/0.7059, allocations: 37.56 MB / 0.8215 GB, free: 26.82 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02388/0.7298, allocations: 13.03 MB / 0.8342 GB, free: 18.04 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006489/0.7363, allocations: 170.8 kB / 0.8344 GB, free: 17.98 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01052/0.747, allocations: 3.876 MB / 0.8381 GB, free: 15.65 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009251/0.7562, allocations: 2.487 MB / 0.8406 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008005/0.7643, allocations: 2.707 MB / 0.8432 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01552/0.7798, allocations: 9.575 MB / 0.8526 GB, free: 8.301 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01556/0.7954, allocations: 10.64 MB / 0.863 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009176/0.8046, allocations: 3.997 MB / 0.8669 GB, free: 2.012 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009173/0.8138, allocations: 4.371 MB / 0.8711 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.003293/0.8171, allocations: 0.7711 MB / 0.8719 GB, free: 15.34 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007164/0.8243, allocations: 1.781 MB / 0.8736 GB, free: 14.79 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.005766/0.8301, allocations: 3.034 MB / 0.8766 GB, free: 12.46 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.008217/0.8384, allocations: 3.587 MB / 0.8801 GB, free: 8.863 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01785/0.8562, allocations: 11.84 MB / 0.8916 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8563, allocations: 0 / 0.8916 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.052e-06/0.8563, allocations: 0 / 0.8916 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003871/0.8567, allocations: 0 / 0.8916 GB, free: 12.98 MB / 0.6856 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.01774/0.8744, allocations: 6.358 MB / 0.8979 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.8745, allocations: 8.031 kB / 0.8979 GB, free: 6.539 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009073/0.8836, allocations: 1.301 MB / 0.8991 GB, free: 5.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009344/0.8929, allocations: 3.568 MB / 0.9026 GB, free: 1.586 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000361/0.8933, allocations: 382.4 kB / 0.903 GB, free: 1.211 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002006/0.8953, allocations: 0.504 MB / 0.9035 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01669/0.912, allocations: 8.886 MB / 0.9122 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001386/0.9122, allocations: 23.77 kB / 0.9122 GB, free: 7.445 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000663/0.9129, allocations: 223.9 kB / 0.9124 GB, free: 7.227 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002072/0.915, allocations: 0.6304 MB / 0.913 GB, free: 6.594 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01461/0.9296, allocations: 7.018 MB / 0.9199 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05342/0.9831, allocations: 40.05 MB / 0.959 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/0.9875, allocations: 2.902 MB / 0.9618 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003751/0.9912, allocations: 2.659 MB / 0.9644 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001907/0.9914, allocations: 26.09 kB / 0.9644 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.072e-05/0.9915, allocations: 68.59 kB / 0.9645 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=265): time 4.177e-06/0.9915, allocations: 0 / 0.9645 GB, free: 14.59 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424): time 0.2839/1.275, allocations: 74.67 MB / 1.037 GB, free: 3.262 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.526e-05/1.276, allocations: 94.73 kB / 1.037 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003347/1.279, allocations: 2.355 MB / 1.04 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0007729/1.28, allocations: 97.7 kB / 1.04 GB, free: 0.6875 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001577/1.281, allocations: 2.341 MB / 1.042 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.283, allocations: 1.436 MB / 1.044 GB, free: 12.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001427/1.284, allocations: 0.7254 MB / 1.044 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.522e-05/1.284, allocations: 305.1 kB / 1.045 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004458/1.289, allocations: 2.999 MB / 1.048 GB, free: 8.816 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005211/1.294, allocations: 3.847 MB / 1.051 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01105/1.305, allocations: 7.38 MB / 1.058 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.705e-05/1.305, allocations: 8 kB / 1.058 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02954/1.335, allocations: 12.56 MB / 1.071 GB, free: 264 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.88e-05/1.335, allocations: 16 kB / 1.071 GB, free: 248 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.192e-05/1.335, allocations: 20 kB / 1.071 GB, free: 228 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02278/1.358, allocations: 6.02 MB / 1.077 GB, free: 10.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002304/1.36, allocations: 495.2 kB / 1.077 GB, free: 9.652 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4877/1.848, allocations: 72.98 MB / 1.148 GB, free: 266.6 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/1.852, allocations: 221.1 kB / 1.149 GB, free: 266.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006214/1.852, allocations: 155.1 kB / 1.149 GB, free: 266.6 MB / 0.92 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 (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003615/1.856, allocations: 1.991 MB / 1.151 GB, free: 266.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.857, allocations: 392.4 kB / 1.151 GB, free: 266.5 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03109/1.888, allocations: 12.24 MB / 1.163 GB, free: 262.9 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.686e-05/1.888, allocations: 40.17 kB / 1.163 GB, free: 262.9 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002051/1.888, allocations: 48.25 kB / 1.163 GB, free: 262.9 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.937e-05/1.889, allocations: 21.39 kB / 1.163 GB, free: 262.9 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04468/1.933, allocations: 19.14 MB / 1.182 GB, free: 255.6 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.638e-05/1.933, allocations: 6.281 kB / 1.182 GB, free: 255.6 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/1.935, allocations: 289.4 kB / 1.182 GB, free: 255.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02157/1.957, allocations: 5.579 MB / 1.188 GB, free: 254.2 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/1.958, allocations: 79.84 kB / 1.188 GB, free: 254.2 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07402/2.032, allocations: 70.61 MB / 1.257 GB, free: 203.9 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.592e-06/2.032, allocations: 11.5 kB / 1.257 GB, free: 203.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02965/2.061, allocations: 15.61 MB / 1.272 GB, free: 190.1 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003393/2.065, allocations: 1.047 MB / 1.273 GB, free: 189.1 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001123/2.066, allocations: 89.67 kB / 1.273 GB, free: 189 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003043/2.069, allocations: 219.7 kB / 1.273 GB, free: 188.8 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001635/2.071, allocations: 394.3 kB / 1.274 GB, free: 188.4 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003231/2.071, allocations: 113.5 kB / 1.274 GB, free: 188.3 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.002067/2.073, allocations: 1.556 MB / 1.275 GB, free: 186.7 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.7e-07/2.073, allocations: 0 / 1.275 GB, free: 186.7 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.006154/2.079, allocations: 1.859 MB / 1.277 GB, free: 184.9 MB / 0.92 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 (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006738/2.08, allocations: 229.5 kB / 1.277 GB, free: 184.6 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.01821/2.098, allocations: 12.21 MB / 1.289 GB, free: 172.2 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/2.098, allocations: 0 / 1.289 GB, free: 172.2 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0134/2.112, allocations: 8.35 MB / 1.297 GB, free: 163.5 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005305/2.117, allocations: 1.19 MB / 1.298 GB, free: 162.5 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02246/2.14, allocations: 12.19 MB / 1.31 GB, free: 150.3 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004607/2.144, allocations: 4.09 MB / 1.314 GB, free: 146.2 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.002121/2.146, allocations: 0.6691 MB / 1.315 GB, free: 145.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004504/2.147, allocations: 178.2 kB / 1.315 GB, free: 145.3 MB / 0.92 GB Notification: Performance of SimCode: time 1.092e-06/2.147, allocations: 0 / 1.315 GB, free: 145.3 MB / 0.92 GB Notification: Performance of Templates: time 0.1412/2.288, allocations: 109.1 MB / 1.422 GB, free: 37.43 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)