Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.396/1.396, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009419/0.000942, allocations: 183.4 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205 MB / 0.5766 GB, free: 21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008045/0.0008045, allocations: 93.86 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003558/0.0003557, allocations: 15.06 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1857, allocations: 105.4 MB / 0.8968 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC): time 0.008207/0.1939, allocations: 9.669 MB / 0.9062 GB, free: 58.44 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004151/0.1981, allocations: 3.089 MB / 0.9092 GB, free: 55.34 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000676/0.1988, allocations: 31.81 kB / 0.9092 GB, free: 55.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001454/0.2003, allocations: 0.6108 MB / 0.9098 GB, free: 54.7 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.2015, allocations: 0.6615 MB / 0.9105 GB, free: 54.03 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001101/0.2026, allocations: 0.5833 MB / 0.9111 GB, free: 53.45 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.2053, allocations: 4.053 MB / 0.915 GB, free: 49.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002802/0.2081, allocations: 2.794 MB / 0.9177 GB, free: 46.55 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.2092, allocations: 0.856 MB / 0.9186 GB, free: 45.7 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.2105, allocations: 1.285 MB / 0.9198 GB, free: 44.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0001658/0.2107, allocations: 100 kB / 0.9199 GB, free: 44.31 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007703/0.2114, allocations: 455.2 kB / 0.9204 GB, free: 43.86 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.000585/0.212, allocations: 0.8418 MB / 0.9212 GB, free: 43.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006269/0.2127, allocations: 0.8396 MB / 0.922 GB, free: 42.18 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001709/0.2144, allocations: 2.813 MB / 0.9248 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.2144, allocations: 0 / 0.9248 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.936e-06/0.2144, allocations: 0 / 0.9248 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.632e-05/0.2145, allocations: 0 / 0.9248 GB, free: 39.36 MB / 0.6042 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.002475/0.2169, allocations: 1.597 MB / 0.9263 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.217, allocations: 8.031 kB / 0.9263 GB, free: 37.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005011/0.222, allocations: 0.8883 MB / 0.9272 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001686/0.2237, allocations: 1.126 MB / 0.9283 GB, free: 35.64 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.2238, allocations: 111.3 kB / 0.9284 GB, free: 35.53 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002186/0.224, allocations: 140.3 kB / 0.9285 GB, free: 35.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003771/0.2278, allocations: 3.017 MB / 0.9315 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.711e-05/0.2279, allocations: 4 kB / 0.9315 GB, free: 32.27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001569/0.228, allocations: 67.97 kB / 0.9315 GB, free: 32.2 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001576/0.2282, allocations: 171 kB / 0.9317 GB, free: 32.04 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/0.2313, allocations: 2.615 MB / 0.9343 GB, free: 29.41 MB / 0.6042 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.01331/0.2446, allocations: 13.51 MB / 0.9475 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.2462, allocations: 1.299 MB / 0.9487 GB, free: 13.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.2473, allocations: 1.054 MB / 0.9497 GB, free: 12.44 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.186e-05/0.2474, allocations: 12.64 kB / 0.9498 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.2474, allocations: 39.22 kB / 0.9498 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=82): time 4.338e-06/0.2474, allocations: 0 / 0.9498 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of matching and sorting (n=139): time 0.06491/0.3123, allocations: 19.46 MB / 0.9688 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3124, allocations: 68.66 kB / 0.9689 GB, free: 8.691 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.3135, allocations: 0.9222 MB / 0.9698 GB, free: 7.75 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001708/0.3137, allocations: 49.7 kB / 0.9698 GB, free: 7.695 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000402/0.3141, allocations: 0.7283 MB / 0.9705 GB, free: 6.953 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.000386/0.3145, allocations: 489 kB / 0.971 GB, free: 6.469 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.3147, allocations: 125.6 kB / 0.9711 GB, free: 6.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001202/0.3148, allocations: 353.9 kB / 0.9715 GB, free: 5.988 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/0.3165, allocations: 1.335 MB / 0.9728 GB, free: 4.652 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.3184, allocations: 1.659 MB / 0.9744 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003906/0.3223, allocations: 3.086 MB / 0.9774 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/0.3223, allocations: 0 / 0.9774 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=191) (initialization): time 0.01111/0.3334, allocations: 5.639 MB / 0.9829 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.968e-05/0.3335, allocations: 11.98 kB / 0.9829 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.12e-05/0.3335, allocations: 11.94 kB / 0.9829 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008679/0.3422, allocations: 2.714 MB / 0.9856 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000884/0.3431, allocations: 191.7 kB / 0.9858 GB, free: 7.074 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03198/0.3751, allocations: 23.33 MB / 1.009 GB, free: 15.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001415/0.3766, allocations: 95.95 kB / 1.009 GB, free: 15.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.3767, allocations: 59.98 kB / 1.009 GB, free: 15.04 MB / 0.6667 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.001142/0.3779, allocations: 0.7277 MB / 1.009 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/0.3781, allocations: 114.6 kB / 1.01 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01069/0.3888, allocations: 5.396 MB / 1.015 GB, free: 8.762 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.3888, allocations: 12 kB / 1.015 GB, free: 8.75 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.317e-05/0.3889, allocations: 24.48 kB / 1.015 GB, free: 8.727 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/0.3889, allocations: 3.984 kB / 1.015 GB, free: 8.723 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01568/0.4046, allocations: 8.617 MB / 1.023 GB, free: 15.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/0.4046, allocations: 8 kB / 1.023 GB, free: 15.97 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004654/0.4051, allocations: 119.7 kB / 1.023 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008148/0.4133, allocations: 2.539 MB / 1.026 GB, free: 13.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001461/0.4134, allocations: 28 kB / 1.026 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02929/0.4427, allocations: 20.88 MB / 1.046 GB, free: 7.848 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/0.4428, allocations: 7.938 kB / 1.046 GB, free: 7.84 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0106/0.4534, allocations: 5.126 MB / 1.051 GB, free: 2.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000984/0.4544, allocations: 479.7 kB / 1.052 GB, free: 2.145 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002202/0.4546, allocations: 31.94 kB / 1.052 GB, free: 2.113 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.4555, allocations: 79.84 kB / 1.052 GB, free: 2.035 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000508/0.456, allocations: 125 kB / 1.052 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/0.4561, allocations: 40 kB / 1.052 GB, free: 1.871 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008082/0.4569, allocations: 0.6395 MB / 1.053 GB, free: 1.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4569, allocations: 0 / 1.053 GB, free: 1.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002169/0.4591, allocations: 0.7148 MB / 1.053 GB, free: 0.5156 MB / 0.698 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.0002373/0.4594, allocations: 140.7 kB / 1.053 GB, free: 380 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.3519/0.8113, allocations: 4.152 MB / 1.057 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.783e-06/0.8113, allocations: 2.781 kB / 1.058 GB, free: 146.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.004838/0.8162, allocations: 2.67 MB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001642/0.8179, allocations: 209.8 kB / 1.06 GB, free: 145.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007339/0.8252, allocations: 4.921 MB / 1.065 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001863/0.8271, allocations: 1.735 MB / 1.067 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.8274, allocations: 62.39 kB / 1.067 GB, free: 143.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.222e-06/0.8274, allocations: 0 / 1.067 GB, free: 143.1 MB / 0.698 GB Notification: Performance of Templates: time 0.05359/0.881, allocations: 59.51 MB / 1.125 GB, free: 98.08 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC.pipe 2>&1)