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.ACLine_L.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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002047/0.002047, 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.002279/0.002279, allocations: 191.3 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.699/1.699, allocations: 205.1 MB / 222 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 251.6 MB / 0.5088 GB, free: 3.277 MB / 414.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.001343/0.001343, allocations: 72.47 kB / 0.6216 GB, free: 1.941 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6614, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03698/0.6985, allocations: 32.22 MB / 0.7553 GB, free: 12.79 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.7178, allocations: 10.38 MB / 0.7654 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004873/0.7227, allocations: 131.3 kB / 0.7655 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.01041/0.7332, allocations: 3.477 MB / 0.7689 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007939/0.7412, allocations: 1.739 MB / 0.7706 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006866/0.7481, allocations: 1.933 MB / 0.7725 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01376/0.7619, allocations: 10.58 MB / 0.7829 GB, free: 492 kB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01728/0.7792, allocations: 10.6 MB / 0.7932 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006979/0.7862, allocations: 2.701 MB / 0.7958 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00956/0.7959, allocations: 3.555 MB / 0.7993 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.002947/0.7989, allocations: 452 kB / 0.7998 GB, free: 15.05 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006406/0.8053, allocations: 1.876 MB / 0.8016 GB, free: 13.17 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.004411/0.8098, allocations: 2.343 MB / 0.8039 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005334/0.8151, allocations: 2.668 MB / 0.8065 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.8305, allocations: 9.979 MB / 0.8162 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 1.022e-05/0.8305, allocations: 4 kB / 0.8162 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.803e-06/0.8305, allocations: 4 kB / 0.8162 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0003778/0.8309, allocations: 0 / 0.8162 GB, free: 14.12 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.0172/0.8481, allocations: 4.994 MB / 0.8211 GB, free: 9.059 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.799e-05/0.8482, allocations: 8.031 kB / 0.8211 GB, free: 9.051 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006247/0.8545, allocations: 0.9551 MB / 0.822 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007022/0.8615, allocations: 2.855 MB / 0.8248 GB, free: 5.176 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003208/0.8619, allocations: 349.7 kB / 0.8252 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001354/0.8633, allocations: 464.2 kB / 0.8256 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01715/0.8804, allocations: 7.667 MB / 0.8331 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001247/0.8806, allocations: 31.62 kB / 0.8331 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004823/0.8811, allocations: 200 kB / 0.8333 GB, free: 12.14 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003385/0.8814, allocations: 320.9 kB / 0.8336 GB, free: 11.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01095/0.8924, allocations: 5.706 MB / 0.8392 GB, free: 6.098 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04237/0.9348, allocations: 35.09 MB / 0.8735 GB, free: 15.8 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002931/0.9378, allocations: 2.165 MB / 0.8756 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001724/0.9395, allocations: 1.254 MB / 0.8768 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.293e-05/0.9396, allocations: 21.25 kB / 0.8768 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.581e-05/0.9397, allocations: 55.86 kB / 0.8769 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=133): time 3.296e-06/0.9397, allocations: 0 / 0.8769 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of matching and sorting (n=136): time 0.01478/0.9545, allocations: 7.088 MB / 0.8838 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.165e-05/0.9546, allocations: 64.72 kB / 0.8839 GB, free: 4.746 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002178/0.9568, allocations: 1.488 MB / 0.8853 GB, free: 3.211 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/0.957, allocations: 49.7 kB / 0.8854 GB, free: 3.156 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001353/0.9583, allocations: 1.996 MB / 0.8873 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004855/0.9588, allocations: 493 kB / 0.8878 GB, free: 0.6445 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005079/0.9593, allocations: 351.1 kB / 0.8881 GB, free: 304 kB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.9595, allocations: 305.1 kB / 0.8884 GB, free: 16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.9607, allocations: 0.9096 MB / 0.8893 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/0.9625, allocations: 1.597 MB / 0.8909 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003379/0.9659, allocations: 2.733 MB / 0.8935 GB, free: 10.13 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.391e-05/0.9659, allocations: 4 kB / 0.8935 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006092/0.972, allocations: 3.534 MB / 0.897 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.158e-05/0.9721, allocations: 12 kB / 0.897 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.174e-05/0.9721, allocations: 27.98 kB / 0.897 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002548/0.9747, allocations: 0.9001 MB / 0.8979 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.9758, allocations: 355.3 kB / 0.8982 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6003/1.576, allocations: 21.2 MB / 0.9189 GB, free: 173.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.578, allocations: 100.8 kB / 0.919 GB, free: 173.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/1.578, allocations: 87.02 kB / 0.9191 GB, free: 173.5 MB / 0.7325 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003503/1.582, allocations: 1.616 MB / 0.9207 GB, free: 173.3 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006885/1.583, allocations: 204.7 kB / 0.9209 GB, free: 173.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00609/1.589, allocations: 2.989 MB / 0.9238 GB, free: 172.7 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-05/1.589, allocations: 13.38 kB / 0.9238 GB, free: 172.7 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.371e-05/1.589, allocations: 14.34 kB / 0.9238 GB, free: 172.7 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/1.589, allocations: 6.656 kB / 0.9238 GB, free: 172.7 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01381/1.603, allocations: 7.348 MB / 0.931 GB, free: 169.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/1.603, allocations: 9.297 kB / 0.931 GB, free: 169.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007977/1.603, allocations: 169.9 kB / 0.9312 GB, free: 169.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002316/1.606, allocations: 0.8287 MB / 0.932 GB, free: 169.2 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/1.606, allocations: 23.91 kB / 0.932 GB, free: 169.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.621, allocations: 20.3 MB / 0.9518 GB, free: 151.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/1.621, allocations: 11.88 kB / 0.9519 GB, free: 151.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00536/1.627, allocations: 3.019 MB / 0.9548 GB, free: 150.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009505/1.628, allocations: 463.2 kB / 0.9553 GB, free: 150.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002203/1.628, allocations: 35 kB / 0.9553 GB, free: 150.1 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/1.629, allocations: 70.48 kB / 0.9554 GB, free: 150.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004307/1.629, allocations: 128 kB / 0.9555 GB, free: 150.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.018e-05/1.629, allocations: 34.12 kB / 0.9555 GB, free: 150.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001393/1.63, allocations: 0.9769 MB / 0.9565 GB, free: 149.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.63, allocations: 0 / 0.9565 GB, free: 149.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.003429/1.634, allocations: 0.7858 MB / 0.9572 GB, free: 149.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003057/1.634, allocations: 146.2 kB / 0.9574 GB, free: 149.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.005244/1.639, allocations: 4.022 MB / 0.9613 GB, free: 147.1 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/1.639, allocations: 5 kB / 0.9613 GB, free: 147.1 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.003343/1.643, allocations: 2.729 MB / 0.964 GB, free: 145 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003613/1.646, allocations: 0.6624 MB / 0.9646 GB, free: 144.7 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/1.661, allocations: 9.155 MB / 0.9736 GB, free: 135.9 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003971/1.665, allocations: 3.111 MB / 0.9766 GB, free: 132.8 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.002192/1.667, allocations: 458 kB / 0.977 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003625/1.667, allocations: 119.4 kB / 0.9771 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of SimCode: time 2.565e-06/1.667, allocations: 0 / 0.9771 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of Templates: time 0.05838/1.726, allocations: 34.71 MB / 1.011 GB, free: 97.93 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)