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.001074/0.001074, allocations: 104.2 kB / 16.27 MB, free: 5.961 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.001116/0.001116, allocations: 188 kB / 17.19 MB, free: 5.594 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.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.76/1.76, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.001589/0.001589, allocations: 67.19 kB / 0.6722 GB, free: 6.586 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2334/0.235, allocations: 114.5 MB / 0.784 GB, free: 3.922 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.4357/0.6708, allocations: 37.56 MB / 0.8207 GB, free: 27.06 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02234/0.6932, allocations: 13.04 MB / 0.8334 GB, free: 18.26 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006158/0.6994, allocations: 170.6 kB / 0.8336 GB, free: 18.21 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.01046/0.7099, allocations: 3.875 MB / 0.8374 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.009382/0.7193, allocations: 2.491 MB / 0.8398 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009551/0.7289, allocations: 2.704 MB / 0.8425 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01814/0.7471, allocations: 9.565 MB / 0.8518 GB, free: 8.539 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02187/0.769, allocations: 10.64 MB / 0.8622 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01205/0.7811, allocations: 3.982 MB / 0.8661 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0113/0.7925, allocations: 4.375 MB / 0.8704 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.004041/0.7965, allocations: 0.7715 MB / 0.8711 GB, free: 15.8 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008319/0.8049, allocations: 1.785 MB / 0.8728 GB, free: 15.26 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.007198/0.8121, allocations: 3.034 MB / 0.8758 GB, free: 13.11 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0107/0.8229, allocations: 3.583 MB / 0.8793 GB, free: 9.512 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02058/0.8435, allocations: 11.77 MB / 0.8908 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.298e-06/0.8435, allocations: 4 kB / 0.8908 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.194e-06/0.8435, allocations: 0 / 0.8908 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0004774/0.844, allocations: 0 / 0.8908 GB, free: 13.7 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.02133/0.8654, allocations: 6.358 MB / 0.897 GB, free: 7.262 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.958e-05/0.8654, allocations: 8.031 kB / 0.897 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01039/0.8758, allocations: 1.305 MB / 0.8983 GB, free: 5.941 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009602/0.8855, allocations: 3.568 MB / 0.9018 GB, free: 2.297 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004583/0.886, allocations: 382.5 kB / 0.9022 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/0.8885, allocations: 0.4885 MB / 0.9026 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02218/0.9107, allocations: 8.898 MB / 0.9113 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000309/0.9111, allocations: 31.7 kB / 0.9113 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00203/0.9131, allocations: 219.9 kB / 0.9116 GB, free: 7.938 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00239/0.9155, allocations: 0.6304 MB / 0.9122 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01521/0.9307, allocations: 7.014 MB / 0.919 GB, free: 284 kB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0536/0.9844, allocations: 40.32 MB / 0.9584 GB, free: 4.715 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004315/0.9887, allocations: 2.894 MB / 0.9612 GB, free: 1.809 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003636/0.9924, allocations: 2.663 MB / 0.9638 GB, free: 15.14 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001799/0.9926, allocations: 30.08 kB / 0.9639 GB, free: 15.11 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.269e-05/0.9927, allocations: 64.59 kB / 0.9639 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=265): time 4.789e-06/0.9927, allocations: 0 / 0.9639 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of matching and sorting (n=424): time 0.3083/1.301, allocations: 74.72 MB / 1.037 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.507e-05/1.301, allocations: 98.67 kB / 1.037 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004314/1.306, allocations: 2.359 MB / 1.039 GB, free: 1.164 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 0.0009319/1.306, allocations: 93.7 kB / 1.039 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.001805/1.308, allocations: 2.345 MB / 1.042 GB, free: 14.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.002005/1.31, allocations: 1.436 MB / 1.043 GB, free: 13.24 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002281/1.313, allocations: 0.7215 MB / 1.044 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.433e-05/1.313, allocations: 305.1 kB / 1.044 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004561/1.317, allocations: 2.999 MB / 1.047 GB, free: 9.199 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005164/1.322, allocations: 3.843 MB / 1.051 GB, free: 5.023 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01065/1.333, allocations: 7.384 MB / 1.058 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.9e-05/1.333, allocations: 4 kB / 1.058 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03093/1.364, allocations: 12.57 MB / 1.07 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.637e-05/1.364, allocations: 12 kB / 1.07 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.351e-05/1.364, allocations: 24 kB / 1.07 GB, free: 0.6016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02291/1.387, allocations: 6.059 MB / 1.076 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002273/1.389, allocations: 495.2 kB / 1.077 GB, free: 9.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4842/1.874, allocations: 73.03 MB / 1.148 GB, free: 266.8 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/1.878, allocations: 217 kB / 1.148 GB, free: 266.8 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009706/1.879, allocations: 153.4 kB / 1.148 GB, free: 266.8 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.004789/1.884, allocations: 1.995 MB / 1.15 GB, free: 266.6 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001399/1.885, allocations: 389 kB / 1.151 GB, free: 266.6 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03051/1.916, allocations: 12.23 MB / 1.163 GB, free: 263.1 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.014e-05/1.916, allocations: 44.31 kB / 1.163 GB, free: 263 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002436/1.916, allocations: 48.94 kB / 1.163 GB, free: 263 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000105/1.916, allocations: 20.2 kB / 1.163 GB, free: 263 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04817/1.965, allocations: 19.14 MB / 1.181 GB, free: 255.7 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.541e-05/1.965, allocations: 11.17 kB / 1.181 GB, free: 255.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001767/1.966, allocations: 288 kB / 1.182 GB, free: 255.7 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02185/1.988, allocations: 5.627 MB / 1.187 GB, free: 254.3 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009341/1.989, allocations: 81.06 kB / 1.187 GB, free: 254.3 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07153/2.061, allocations: 70.66 MB / 1.256 GB, free: 203.9 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/2.061, allocations: 16.3 kB / 1.256 GB, free: 203.9 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03023/2.091, allocations: 15.62 MB / 1.272 GB, free: 190.4 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002711/2.094, allocations: 1.039 MB / 1.273 GB, free: 189.3 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001017/2.095, allocations: 83.89 kB / 1.273 GB, free: 189.2 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002784/2.098, allocations: 215.7 kB / 1.273 GB, free: 189 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001413/2.099, allocations: 402.2 kB / 1.273 GB, free: 188.6 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002854/2.099, allocations: 108 kB / 1.273 GB, free: 188.5 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001874/2.101, allocations: 1.56 MB / 1.275 GB, free: 186.9 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.41e-07/2.101, allocations: 2.516 kB / 1.275 GB, free: 186.9 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.00607/2.107, allocations: 1.859 MB / 1.277 GB, free: 185.1 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.0006368/2.108, allocations: 230 kB / 1.277 GB, free: 184.9 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.02358/2.132, allocations: 14.96 MB / 1.291 GB, free: 169.6 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-05/2.132, allocations: 4 kB / 1.291 GB, free: 169.6 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.01384/2.146, allocations: 8.352 MB / 1.3 GB, free: 161 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006745/2.152, allocations: 1.194 MB / 1.301 GB, free: 159.9 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/2.175, allocations: 13.06 MB / 1.314 GB, free: 146.9 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004541/2.179, allocations: 4.16 MB / 1.318 GB, free: 142.7 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009049/2.18, allocations: 191.4 kB / 1.318 GB, free: 142.5 MB / 0.92 GB Notification: Performance of SimCode: time 7.71e-07/2.18, allocations: 0 / 1.318 GB, free: 142.5 MB / 0.92 GB Notification: Performance of Templates: time 1.34/3.52, allocations: 0.7437 GB / 2.062 GB, free: 161.8 MB / 0.9825 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 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1)