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.0008086/0.0008086, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005807/0.005807, allocations: 169.6 kB / 16.27 MB, free: 6.652 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.613/1.613, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.77/1.77, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005094/0.0005091, allocations: 13.09 kB / 0.6743 GB, free: 25.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2883/0.2889, allocations: 116.3 MB / 0.7879 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.04361/0.3325, allocations: 36.33 MB / 0.8234 GB, free: 7.156 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02573/0.3583, allocations: 12.92 MB / 0.836 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005741/0.3641, allocations: 147.1 kB / 0.8361 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.003793/0.368, allocations: 0.7559 MB / 0.8369 GB, free: 9.293 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008921/0.3769, allocations: 2.349 MB / 0.8392 GB, free: 6.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.008966/0.3859, allocations: 2.304 MB / 0.8414 GB, free: 4.633 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.02167/0.4076, allocations: 13.35 MB / 0.8544 GB, free: 7.242 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02542/0.4331, allocations: 13.2 MB / 0.8673 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007925/0.4411, allocations: 2.941 MB / 0.8702 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008861/0.45, allocations: 3.861 MB / 0.874 GB, free: 3.094 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.002299/0.4524, allocations: 320 kB / 0.8743 GB, free: 2.781 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006004/0.4584, allocations: 1.638 MB / 0.8759 GB, free: 1.141 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.005795/0.4642, allocations: 2.463 MB / 0.8783 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.01057/0.4748, allocations: 2.952 MB / 0.8812 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.02025/0.4951, allocations: 11.29 MB / 0.8922 GB, free: 380 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4952, allocations: 0 / 0.8922 GB, free: 380 kB / 0.7012 GB Notification: Performance of FrontEnd: time 2.845e-06/0.4952, allocations: 0 / 0.8922 GB, free: 380 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.0004776/0.4957, allocations: 4 kB / 0.8922 GB, free: 376 kB / 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.01578/0.5114, allocations: 5.13 MB / 0.8972 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5115, allocations: 12.03 kB / 0.8972 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009852/0.5214, allocations: 1.309 MB / 0.8985 GB, free: 9.836 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009116/0.5305, allocations: 3.572 MB / 0.902 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004823/0.5311, allocations: 382.5 kB / 0.9024 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002482/0.5336, allocations: 0.4963 MB / 0.9028 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5644/1.098, allocations: 8.881 MB / 0.9115 GB, free: 59.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003631/1.098, allocations: 28.19 kB / 0.9115 GB, free: 59.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001774/1.1, allocations: 220.5 kB / 0.9118 GB, free: 59.26 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002591/1.103, allocations: 0.6312 MB / 0.9124 GB, free: 59.25 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01858/1.121, allocations: 7.011 MB / 0.9192 GB, free: 59.2 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06238/1.184, allocations: 40.43 MB / 0.9587 GB, free: 34.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005607/1.19, allocations: 2.9 MB / 0.9615 GB, free: 33.05 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004417/1.194, allocations: 2.664 MB / 0.9641 GB, free: 31.96 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/1.194, allocations: 26.84 kB / 0.9642 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.794e-05/1.194, allocations: 68.56 kB / 0.9642 GB, free: 31.89 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=265): time 5.68e-06/1.194, allocations: 3.281 kB / 0.9642 GB, free: 31.89 MB / 0.7169 GB Notification: Performance of matching and sorting (n=424): time 0.3082/1.503, allocations: 77.49 MB / 1.04 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.313e-05/1.503, allocations: 105.5 kB / 1.04 GB, free: 15.18 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003632/1.506, allocations: 2.355 MB / 1.042 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0009425/1.507, allocations: 97.7 kB / 1.042 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.001842/1.509, allocations: 2.335 MB / 1.045 GB, free: 10.36 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.002211/1.511, allocations: 1.441 MB / 1.046 GB, free: 8.934 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006677/1.512, allocations: 343 kB / 1.046 GB, free: 8.59 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001351/1.512, allocations: 305.1 kB / 1.047 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00538/1.518, allocations: 2.996 MB / 1.05 GB, free: 5.285 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006068/1.524, allocations: 3.847 MB / 1.053 GB, free: 1.117 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/1.535, allocations: 7.383 MB / 1.061 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-05/1.535, allocations: 8 kB / 1.061 GB, free: 9.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.03096/1.566, allocations: 12.56 MB / 1.073 GB, free: 13.14 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 5.079e-05/1.566, allocations: 18.66 kB / 1.073 GB, free: 13.13 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.242e-05/1.566, allocations: 20 kB / 1.073 GB, free: 13.11 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02357/1.59, allocations: 6.031 MB / 1.079 GB, free: 7.031 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/1.592, allocations: 491.5 kB / 1.079 GB, free: 6.582 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08827/1.681, allocations: 67.28 MB / 1.145 GB, free: 400 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00461/1.685, allocations: 215.8 kB / 1.145 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001113/1.687, allocations: 156.1 kB / 1.145 GB, free: 28 kB / 0.8575 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.005344/1.692, allocations: 1.992 MB / 1.147 GB, free: 14.05 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00144/1.693, allocations: 391.3 kB / 1.148 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03119/1.725, allocations: 12.24 MB / 1.16 GB, free: 1.492 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-05/1.725, allocations: 46.28 kB / 1.16 GB, free: 1.449 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001908/1.725, allocations: 48 kB / 1.16 GB, free: 1.402 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/1.725, allocations: 19.92 kB / 1.16 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04835/1.773, allocations: 19.15 MB / 1.178 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.291e-05/1.773, allocations: 15.91 kB / 1.178 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/1.775, allocations: 289.3 kB / 1.179 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02223/1.797, allocations: 5.577 MB / 1.184 GB, free: 8.355 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009086/1.798, allocations: 80 kB / 1.184 GB, free: 8.277 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08282/1.881, allocations: 64.93 MB / 1.248 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/1.881, allocations: 11.38 kB / 1.248 GB, free: 4.434 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03696/1.918, allocations: 15.62 MB / 1.263 GB, free: 4.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0035/1.922, allocations: 1.051 MB / 1.264 GB, free: 3.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001589/1.923, allocations: 80 kB / 1.264 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00365/1.927, allocations: 219.7 kB / 1.264 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001794/1.929, allocations: 405.6 kB / 1.265 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006014/1.929, allocations: 114.3 kB / 1.265 GB, free: 2.922 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.002748/1.932, allocations: 1.557 MB / 1.266 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.81e-07/1.932, allocations: 0 / 1.266 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.5248/2.457, allocations: 1.859 MB / 1.268 GB, free: 339.3 MB / 0.9825 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.001492/2.459, allocations: 209.8 kB / 1.268 GB, free: 339.2 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.02246/2.481, allocations: 12.19 MB / 1.28 GB, free: 336.2 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.888e-05/2.481, allocations: 3.719 kB / 1.28 GB, free: 336.2 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.01667/2.498, allocations: 8.385 MB / 1.288 GB, free: 333.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01424/2.512, allocations: 1.111 MB / 1.289 GB, free: 333.2 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03058/2.543, allocations: 14.86 MB / 1.304 GB, free: 327.3 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008302/2.551, allocations: 4.085 MB / 1.308 GB, free: 325.8 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.003553/2.555, allocations: 0.6676 MB / 1.309 GB, free: 325.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008191/2.556, allocations: 185.4 kB / 1.309 GB, free: 325.7 MB / 0.9825 GB Notification: Performance of SimCode: time 1.282e-06/2.556, allocations: 0 / 1.309 GB, free: 325.7 MB / 0.9825 GB Notification: Performance of Templates: time 0.1645/2.72, allocations: 105.1 MB / 1.411 GB, free: 245.8 MB / 0.9825 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: