Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001465/0.001465, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00104/0.00104, allocations: 191.5 kB / 16.14 MB, free: 6.703 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.415/1.415, allocations: 205.1 MB / 222 MB, free: 4.77 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.717/1.717, allocations: 292.2 MB / 0.5484 GB, free: 13.69 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.00138/0.00138, allocations: 73.02 kB / 0.6708 GB, free: 26.48 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/0.2887, allocations: 114.5 MB / 0.7827 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.01233/0.3011, allocations: 9.98 MB / 0.7924 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005633/0.3067, allocations: 3.089 MB / 0.7955 GB, free: 0.8477 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009097/0.3077, allocations: 27.88 kB / 0.7955 GB, free: 0.8203 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.3095, allocations: 0.6302 MB / 0.7961 GB, free: 192 kB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00189/0.3114, allocations: 0.6616 MB / 0.7967 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001487/0.3129, allocations: 0.5842 MB / 0.7973 GB, free: 14.94 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00373/0.3167, allocations: 4.068 MB / 0.8013 GB, free: 10.87 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004032/0.3207, allocations: 2.83 MB / 0.804 GB, free: 8 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001779/0.3225, allocations: 0.9498 MB / 0.805 GB, free: 7.047 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001937/0.3245, allocations: 1.426 MB / 0.8064 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002567/0.3247, allocations: 152 kB / 0.8065 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.3258, allocations: 0.4914 MB / 0.807 GB, free: 4.977 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009144/0.3267, allocations: 0.9082 MB / 0.8079 GB, free: 4.066 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.3278, allocations: 0.9372 MB / 0.8088 GB, free: 3.125 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003118/0.3309, allocations: 3.361 MB / 0.8121 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.3309, allocations: 0 / 0.8121 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.312e-06/0.3309, allocations: 0 / 0.8121 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.427e-05/0.331, allocations: 0 / 0.8121 GB, free: 15.75 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 419 * Number of variables: 419 Notification: Performance of Generate backend data structure: time 0.003959/0.3349, allocations: 1.94 MB / 0.814 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 6.671e-05/0.335, allocations: 8.031 kB / 0.814 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005403/0.3404, allocations: 0.8883 MB / 0.8148 GB, free: 12.86 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002085/0.3425, allocations: 1.126 MB / 0.8159 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.3426, allocations: 111.3 kB / 0.8161 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002448/0.3429, allocations: 140.3 kB / 0.8162 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004344/0.3472, allocations: 3.014 MB / 0.8191 GB, free: 8.328 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/0.3473, allocations: 7.938 kB / 0.8191 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001821/0.3475, allocations: 63.97 kB / 0.8192 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002043/0.3477, allocations: 179 kB / 0.8194 GB, free: 8.082 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003732/0.3514, allocations: 2.608 MB / 0.8219 GB, free: 5.469 MB / 0.6387 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.01448/0.3659, allocations: 13.57 MB / 0.8352 GB, free: 6.805 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001899/0.3679, allocations: 1.291 MB / 0.8364 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.3691, allocations: 1.054 MB / 0.8375 GB, free: 4.441 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 6.547e-05/0.3692, allocations: 12.66 kB / 0.8375 GB, free: 4.43 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.546e-05/0.3693, allocations: 35.22 kB / 0.8375 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=82): time 2.865e-06/0.3693, allocations: 0 / 0.8375 GB, free: 4.387 MB / 0.6544 GB Notification: Performance of matching and sorting (n=139): time 0.06732/0.4366, allocations: 19.38 MB / 0.8564 GB, free: 0.8594 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.4367, allocations: 64.72 kB / 0.8565 GB, free: 0.7812 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/0.438, allocations: 0.9145 MB / 0.8574 GB, free: 15.86 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002091/0.4383, allocations: 53.69 kB / 0.8574 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005285/0.4388, allocations: 0.7321 MB / 0.8581 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/0.4392, allocations: 489 kB / 0.8586 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000562/0.4398, allocations: 287.5 kB / 0.8589 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.44, allocations: 353.9 kB / 0.8592 GB, free: 13.93 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/0.442, allocations: 1.339 MB / 0.8605 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002128/0.4441, allocations: 1.659 MB / 0.8622 GB, free: 10.82 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00404/0.4482, allocations: 3.109 MB / 0.8652 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/0.4482, allocations: 0 / 0.8652 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01157/0.4598, allocations: 5.636 MB / 0.8707 GB, free: 1.926 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-05/0.4598, allocations: 8 kB / 0.8707 GB, free: 1.918 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.838e-05/0.4599, allocations: 11.94 kB / 0.8707 GB, free: 1.906 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008696/0.4686, allocations: 2.719 MB / 0.8734 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008574/0.4695, allocations: 195.6 kB / 0.8736 GB, free: 14.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03366/0.5032, allocations: 23.35 MB / 0.8964 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/0.5047, allocations: 95.95 kB / 0.8964 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.5049, allocations: 52 kB / 0.8965 GB, free: 6.945 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (99): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,12,100.0%), (6,24,100.0%), (6,24,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001223/0.5061, allocations: 0.7354 MB / 0.8972 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002626/0.5064, allocations: 118.6 kB / 0.8973 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/0.5171, allocations: 5.396 MB / 0.9026 GB, free: 0.6484 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.686e-05/0.5172, allocations: 12 kB / 0.9026 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-05/0.5172, allocations: 20 kB / 0.9026 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.85e-05/0.5173, allocations: 11.97 kB / 0.9026 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01585/0.5331, allocations: 8.648 MB / 0.9111 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.01e-05/0.5332, allocations: 0 / 0.9111 GB, free: 7.836 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004586/0.5336, allocations: 119.8 kB / 0.9112 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008162/0.5418, allocations: 2.545 MB / 0.9137 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001844/0.542, allocations: 28 kB / 0.9137 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4751/1.017, allocations: 20.87 MB / 0.9341 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.311e-06/1.017, allocations: 3.281 kB / 0.9341 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01251/1.03, allocations: 5.129 MB / 0.9391 GB, free: 121.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001608/1.031, allocations: 472.6 kB / 0.9396 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003293/1.032, allocations: 30.94 kB / 0.9396 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009745/1.033, allocations: 77.25 kB / 0.9397 GB, free: 121.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007372/1.033, allocations: 123 kB / 0.9398 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/1.034, allocations: 38.81 kB / 0.9398 GB, free: 121.5 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001177/1.035, allocations: 0.646 MB / 0.9404 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/1.035, allocations: 0 / 0.9404 GB, free: 121.3 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003205/1.038, allocations: 0.7216 MB / 0.9411 GB, free: 121.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (62): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,12,100.0%), (6,24,100.0%), (6,6,100.0%), (10,14,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002888/1.038, allocations: 141.5 kB / 0.9413 GB, free: 121.1 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006983/1.045, allocations: 4.156 MB / 0.9453 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.809e-06/1.045, allocations: 4.625 kB / 0.9453 GB, free: 119.4 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.004912/1.05, allocations: 2.661 MB / 0.9479 GB, free: 118.2 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/1.052, allocations: 210.2 kB / 0.9481 GB, free: 118.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006606/1.058, allocations: 4.67 MB / 0.9527 GB, free: 115.7 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001578/1.06, allocations: 1.699 MB / 0.9544 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008884/1.061, allocations: 330.8 kB / 0.9547 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001851/1.061, allocations: 57.78 kB / 0.9547 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of SimCode: time 1.603e-06/1.061, allocations: 0 / 0.9547 GB, free: 114.8 MB / 0.7325 GB Notification: Performance of Templates: time 0.04896/1.11, allocations: 38.19 MB / 0.992 GB, free: 83.85 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)