Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 103.1 kB / 16.35 MB, free: 6.348 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.001547/0.001547, allocations: 194.7 kB / 17.29 MB, free: 5.93 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.403/1.403, allocations: 205.1 MB / 223.2 MB, free: 12.26 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.752/1.752, allocations: 292.3 MB / 0.5496 GB, free: 17.41 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.001427/0.001427, allocations: 79 kB / 0.6729 GB, free: 5.848 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2284/0.2299, allocations: 114.5 MB / 0.7848 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.4623/0.6923, allocations: 22.6 MB / 0.8068 GB, free: 37.04 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0109/0.7032, allocations: 6.27 MB / 0.813 GB, free: 32.74 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00297/0.7062, allocations: 93.03 kB / 0.8131 GB, free: 32.71 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.004655/0.711, allocations: 1.541 MB / 0.8146 GB, free: 31.79 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005504/0.7165, allocations: 1.633 MB / 0.8162 GB, free: 30.85 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004495/0.721, allocations: 1.335 MB / 0.8175 GB, free: 30.12 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.009981/0.731, allocations: 5.943 MB / 0.8233 GB, free: 27.52 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009182/0.7402, allocations: 6.079 MB / 0.8292 GB, free: 25.33 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005855/0.7461, allocations: 2.421 MB / 0.8316 GB, free: 24.23 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00613/0.7523, allocations: 2.864 MB / 0.8344 GB, free: 23.03 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001514/0.7539, allocations: 461.2 kB / 0.8348 GB, free: 23.02 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/0.7576, allocations: 1.097 MB / 0.8359 GB, free: 22.78 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003254/0.7609, allocations: 2.025 MB / 0.8378 GB, free: 22.01 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.004964/0.7659, allocations: 2.171 MB / 0.84 GB, free: 20.62 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01195/0.7778, allocations: 7.297 MB / 0.8471 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.7779, allocations: 1.438 kB / 0.8471 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.955e-06/0.7779, allocations: 0 / 0.8471 GB, free: 17.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002983/0.7782, allocations: 0 / 0.8471 GB, free: 17.75 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.01123/0.7894, allocations: 3.818 MB / 0.8508 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.7895, allocations: 11.91 kB / 0.8508 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006488/0.796, allocations: 1.216 MB / 0.852 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00557/0.8016, allocations: 2.22 MB / 0.8542 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.8018, allocations: 238.9 kB / 0.8544 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009831/0.8028, allocations: 314 kB / 0.8547 GB, free: 12.83 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01135/0.8142, allocations: 6.214 MB / 0.8608 GB, free: 9.039 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.389e-05/0.8143, allocations: 17.72 kB / 0.8608 GB, free: 9.027 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004273/0.8147, allocations: 137.8 kB / 0.8609 GB, free: 8.926 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005131/0.8153, allocations: 404.5 kB / 0.8613 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009057/0.8243, allocations: 4.669 MB / 0.8659 GB, free: 6.406 MB / 0.6544 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.03395/0.8583, allocations: 28.95 MB / 0.8942 GB, free: 7.508 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002029/0.8604, allocations: 1.42 MB / 0.8955 GB, free: 6.082 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00181/0.8622, allocations: 1.484 MB / 0.897 GB, free: 4.598 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 9.229e-05/0.8623, allocations: 13 kB / 0.897 GB, free: 4.582 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.8623, allocations: 47.56 kB / 0.897 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 3.286e-06/0.8623, allocations: 0 / 0.897 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of matching and sorting (n=179): time 0.1351/0.9975, allocations: 37.23 MB / 0.9334 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.9976, allocations: 69.41 kB / 0.9335 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002507/1, allocations: 1.423 MB / 0.9349 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003827/1.001, allocations: 51.95 kB / 0.9349 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001104/1.002, allocations: 1.546 MB / 0.9364 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006641/1.002, allocations: 0.6123 MB / 0.937 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007263/1.003, allocations: 387.3 kB / 0.9374 GB, free: 11.09 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001066/1.003, allocations: 301.1 kB / 0.9377 GB, free: 10.79 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002495/1.006, allocations: 1.78 MB / 0.9394 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002832/1.008, allocations: 2.35 MB / 0.9417 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005652/1.014, allocations: 4.391 MB / 0.946 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-05/1.014, allocations: 4 kB / 0.946 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01768/1.032, allocations: 8.566 MB / 0.9544 GB, free: 9.164 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.327e-05/1.032, allocations: 12.97 kB / 0.9544 GB, free: 9.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.48e-05/1.032, allocations: 20 kB / 0.9544 GB, free: 9.133 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0147/1.047, allocations: 4.638 MB / 0.9589 GB, free: 4.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.048, allocations: 303.4 kB / 0.9592 GB, free: 4.184 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04641/1.095, allocations: 32.59 MB / 0.991 GB, free: 2.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002025/1.097, allocations: 147.8 kB / 0.9912 GB, free: 2.602 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001856/1.097, allocations: 88.2 kB / 0.9913 GB, free: 2.516 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002341/1.099, allocations: 1.328 MB / 0.9926 GB, free: 1.176 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004022/1.1, allocations: 201.5 kB / 0.9928 GB, free: 0.9766 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01645/1.116, allocations: 8.437 MB / 1.001 GB, free: 8.492 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/1.116, allocations: 24 kB / 1.001 GB, free: 8.469 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.05e-05/1.116, allocations: 27.94 kB / 1.001 GB, free: 8.441 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.494e-05/1.116, allocations: 7.969 kB / 1.001 GB, free: 8.434 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02524/1.141, allocations: 12.84 MB / 1.014 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.551e-05/1.141, allocations: 12.81 kB / 1.014 GB, free: 11.41 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007043/1.142, allocations: 167.7 kB / 1.014 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01374/1.156, allocations: 4.48 MB / 1.018 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002435/1.156, allocations: 40 kB / 1.018 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04563/1.202, allocations: 32.2 MB / 1.05 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.086e-05/1.202, allocations: 11.94 kB / 1.05 GB, free: 5.652 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01639/1.218, allocations: 8.236 MB / 1.058 GB, free: 13.29 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/1.22, allocations: 0.608 MB / 1.058 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003417/1.22, allocations: 55.77 kB / 1.058 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001297/1.222, allocations: 131.8 kB / 1.058 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008617/1.223, allocations: 178.9 kB / 1.059 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.223, allocations: 44 kB / 1.059 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001315/1.224, allocations: 0.9588 MB / 1.06 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.224, allocations: 0 / 1.06 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.00346/1.228, allocations: 1.117 MB / 1.061 GB, free: 10.19 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003103/1.228, allocations: 159 kB / 1.061 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.01218/1.24, allocations: 6.532 MB / 1.067 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-05/1.24, allocations: 192 / 1.067 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.009319/1.249, allocations: 4.366 MB / 1.071 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/1.252, allocations: 0.5212 MB / 1.072 GB, free: 14.48 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.266, allocations: 6.804 MB / 1.079 GB, free: 7.586 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00334/1.269, allocations: 2.727 MB / 1.081 GB, free: 4.824 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.001226/1.271, allocations: 388.5 kB / 1.082 GB, free: 4.441 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002454/1.271, allocations: 99.44 kB / 1.082 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of SimCode: time 1.082e-06/1.271, allocations: 0 / 1.082 GB, free: 4.344 MB / 0.8731 GB Notification: Performance of Templates: time 0.4746/1.746, allocations: 60.48 MB / 1.141 GB, free: 287.2 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)