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_RL.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: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.446/1.446, allocations: 252 MB / 267 MB, free: 10.93 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.001297/0.001298, allocations: 187.3 kB / 326.6 MB, free: 2.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.172/2.172, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0007776/0.0007778, allocations: 88.39 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003454/0.0003454, allocations: 11.28 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.212/0.2124, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01626/0.2287, allocations: 20.51 MB / 0.9203 GB, free: 43.22 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.2395, allocations: 5.99 MB / 0.9262 GB, free: 37.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002548/0.2421, allocations: 79.5 kB / 0.9263 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.2439, allocations: 424.7 kB / 0.9267 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.004382/0.2483, allocations: 1.353 MB / 0.928 GB, free: 35.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002951/0.2513, allocations: 0.8203 MB / 0.9288 GB, free: 34.54 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.006551/0.2578, allocations: 6.858 MB / 0.9355 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009132/0.267, allocations: 6.204 MB / 0.9415 GB, free: 21.4 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.2704, allocations: 1.794 MB / 0.9433 GB, free: 19.6 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003925/0.2744, allocations: 2.543 MB / 0.9458 GB, free: 17.05 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.001173/0.2756, allocations: 204 kB / 0.946 GB, free: 16.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.278, allocations: 0.5502 MB / 0.9465 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.00241/0.2804, allocations: 1.703 MB / 0.9482 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.2823, allocations: 0.7381 MB / 0.9489 GB, free: 13.85 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.006396/0.2887, allocations: 5.992 MB / 0.9547 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.2887, allocations: 3.938 kB / 0.9548 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.863e-06/0.2887, allocations: 0 / 0.9548 GB, free: 7.836 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002575/0.289, allocations: 0 / 0.9548 GB, free: 7.836 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: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.006353/0.2953, allocations: 3.108 MB / 0.9578 GB, free: 4.668 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.2954, allocations: 8.031 kB / 0.9578 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001431/0.2968, allocations: 0.5012 MB / 0.9583 GB, free: 4.148 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005914/0.3028, allocations: 1.216 MB / 0.9595 GB, free: 2.926 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/0.307, allocations: 2.158 MB / 0.9616 GB, free: 0.7109 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.3072, allocations: 242.4 kB / 0.9618 GB, free: 484 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001015/0.3082, allocations: 327.8 kB / 0.9621 GB, free: 156 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01375/0.322, allocations: 6.185 MB / 0.9682 GB, free: 9.711 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/0.3222, allocations: 19.88 kB / 0.9682 GB, free: 9.691 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000964/0.3232, allocations: 139.9 kB / 0.9683 GB, free: 9.555 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006288/0.3238, allocations: 406.3 kB / 0.9687 GB, free: 9.156 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/0.3344, allocations: 4.635 MB / 0.9732 GB, free: 4.508 MB / 0.6198 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.03701/0.3714, allocations: 29.05 MB / 1.002 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002331/0.3738, allocations: 1.408 MB / 1.003 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002138/0.376, allocations: 1.483 MB / 1.004 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001439/0.3762, allocations: 13 kB / 1.004 GB, free: 1.832 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.179e-05/0.3762, allocations: 47.5 kB / 1.004 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=110): time 3.337e-06/0.3762, allocations: 4 kB / 1.004 GB, free: 1.77 MB / 0.6511 GB Notification: Performance of matching and sorting (n=179): time 0.136/0.5123, allocations: 36.3 MB / 1.04 GB, free: 13.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.5124, allocations: 69.41 kB / 1.04 GB, free: 13.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002318/0.5147, allocations: 1.408 MB / 1.041 GB, free: 11.9 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003351/0.515, allocations: 49.7 kB / 1.041 GB, free: 11.85 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.00116/0.5162, allocations: 1.538 MB / 1.043 GB, free: 10.29 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008055/0.517, allocations: 0.6161 MB / 1.044 GB, free: 9.668 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002294/0.5173, allocations: 44 kB / 1.044 GB, free: 9.625 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5175, allocations: 381.9 kB / 1.044 GB, free: 9.246 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002756/0.5202, allocations: 1.78 MB / 1.046 GB, free: 7.461 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003034/0.5233, allocations: 2.342 MB / 1.048 GB, free: 4.863 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003146/0.5265, allocations: 2.051 MB / 1.05 GB, free: 2.816 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/0.5265, allocations: 4 kB / 1.05 GB, free: 2.812 MB / 0.698 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.4347/0.9612, allocations: 8.537 MB / 1.058 GB, free: 137.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.454e-05/0.9613, allocations: 12.19 kB / 1.058 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/0.9613, allocations: 22.81 kB / 1.058 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01563/0.977, allocations: 4.634 MB / 1.063 GB, free: 137.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/0.9784, allocations: 305.2 kB / 1.063 GB, free: 137.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04309/1.022, allocations: 29.42 MB / 1.092 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002229/1.024, allocations: 156.3 kB / 1.092 GB, free: 123.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002938/1.024, allocations: 80.59 kB / 1.092 GB, free: 123.5 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(11,90.1%) 13,(11,91.7%) 13,(6,100.0%) 12,(6,100.0%) 12,(6,100.0%) 6,(6,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00228/1.026, allocations: 1.336 MB / 1.093 GB, free: 122.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003822/1.027, allocations: 197.4 kB / 1.094 GB, free: 122.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01509/1.042, allocations: 8.414 MB / 1.102 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.042, allocations: 21.22 kB / 1.102 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.577e-05/1.042, allocations: 24 kB / 1.102 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.269e-05/1.042, allocations: 7.969 kB / 1.102 GB, free: 117 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02177/1.064, allocations: 12.83 MB / 1.114 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.019e-05/1.064, allocations: 10.53 kB / 1.114 GB, free: 104 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006697/1.065, allocations: 161.2 kB / 1.115 GB, free: 103.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01274/1.077, allocations: 4.491 MB / 1.119 GB, free: 99.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002397/1.078, allocations: 43.94 kB / 1.119 GB, free: 99.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03418/1.112, allocations: 29.06 MB / 1.147 GB, free: 69.44 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/1.112, allocations: 15.92 kB / 1.147 GB, free: 69.42 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/1.126, allocations: 8.206 MB / 1.155 GB, free: 61.09 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00166/1.128, allocations: 0.6273 MB / 1.156 GB, free: 60.44 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004973/1.129, allocations: 32 kB / 1.156 GB, free: 60.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002114/1.131, allocations: 139.8 kB / 1.156 GB, free: 60.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001073/1.132, allocations: 172.9 kB / 1.156 GB, free: 60.11 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000235/1.132, allocations: 48 kB / 1.156 GB, free: 60.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001777/1.134, allocations: 0.9431 MB / 1.157 GB, free: 59.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.41e-07/1.134, allocations: 3.938 kB / 1.157 GB, free: 59.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.00496/1.139, allocations: 1.109 MB / 1.158 GB, free: 58.01 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13,(6,100.0%) 6,(6,100.0%) 12,(11,91.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.02789/1.167, allocations: 8.801 MB / 1.167 GB, free: 49.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.02091/1.188, allocations: 6.42 MB / 1.173 GB, free: 42.58 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/1.188, allocations: 0 / 1.173 GB, free: 42.58 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0158/1.204, allocations: 4.277 MB / 1.177 GB, free: 38.23 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004953/1.209, allocations: 499.1 kB / 1.178 GB, free: 37.76 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06119/1.27, allocations: 24.53 MB / 1.202 GB, free: 12.17 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00238/1.272, allocations: 2.723 MB / 1.205 GB, free: 9.406 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001128/1.274, allocations: 388.6 kB / 1.205 GB, free: 9.023 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.275, allocations: 1.214 MB / 1.206 GB, free: 7.812 MB / 0.698 GB Notification: Performance of SimCode: time 1.112e-06/1.275, allocations: 0 / 1.206 GB, free: 7.812 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.394, allocations: 78.63 MB / 1.283 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/1.394, allocations: 246.5 kB / 1.283 GB, free: 9.371 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.589/4.983, allocations: 0 / 1.283 GB, free: 9.371 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)