Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.518/1.518, allocations: 288.4 MB / 303.6 MB, free: 8.117 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001013/0.001013, allocations: 176.4 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.317/1.317, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008024/0.0008023, allocations: 90.28 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003483, allocations: 12.41 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1637/0.164, allocations: 115.3 MB / 0.9802 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.01869/0.1828, allocations: 20.5 MB / 1 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007657/0.1905, allocations: 5.982 MB / 1.006 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.1922, allocations: 79.56 kB / 1.006 GB, free: 0.6172 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.1934, allocations: 428.6 kB / 1.007 GB, free: 200 kB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003435/0.1969, allocations: 1.44 MB / 1.008 GB, free: 14.75 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002501/0.1994, allocations: 0.859 MB / 1.009 GB, free: 13.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006891/0.2063, allocations: 6.901 MB / 1.016 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009683/0.216, allocations: 7.086 MB / 1.022 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003027/0.219, allocations: 1.798 MB / 1.024 GB, free: 14 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.2227, allocations: 2.558 MB / 1.027 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0006787/0.2234, allocations: 200 kB / 1.027 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001994/0.2254, allocations: 0.9826 MB / 1.028 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.001501/0.227, allocations: 1.711 MB / 1.03 GB, free: 8.539 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.001584/0.2285, allocations: 1.732 MB / 1.031 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.004462/0.233, allocations: 6.019 MB / 1.037 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.233, allocations: 4 kB / 1.037 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.503e-06/0.233, allocations: 0 / 1.037 GB, free: 0.7539 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.267e-05/0.2331, allocations: 0 / 1.037 GB, free: 0.7539 MB / 0.6511 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.004523/0.2376, allocations: 3.072 MB / 1.04 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 3.888e-05/0.2377, allocations: 8.031 kB / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005404/0.2382, allocations: 0.5015 MB / 1.041 GB, free: 13.1 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005053/0.2433, allocations: 1.21 MB / 1.042 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003115/0.2464, allocations: 2.223 MB / 1.044 GB, free: 9.605 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001395/0.2466, allocations: 238.4 kB / 1.044 GB, free: 9.371 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004192/0.247, allocations: 315.9 kB / 1.044 GB, free: 9.062 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008055/0.2551, allocations: 6.185 MB / 1.051 GB, free: 2.625 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-05/0.2551, allocations: 19.78 kB / 1.051 GB, free: 2.605 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003125/0.2555, allocations: 140 kB / 1.051 GB, free: 2.469 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004233/0.2559, allocations: 406.3 kB / 1.051 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006228/0.2621, allocations: 4.639 MB / 1.056 GB, free: 13.42 MB / 0.6823 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.3659/0.6281, allocations: 29.05 MB / 1.084 GB, free: 67.03 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/0.6303, allocations: 1.412 MB / 1.085 GB, free: 66.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002024/0.6323, allocations: 1.485 MB / 1.087 GB, free: 65.98 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.6325, allocations: 15.97 kB / 1.087 GB, free: 65.97 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.6325, allocations: 43.59 kB / 1.087 GB, free: 65.93 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 2.274e-06/0.6325, allocations: 2.812 kB / 1.087 GB, free: 65.93 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.1232/0.7557, allocations: 36.32 MB / 1.122 GB, free: 54.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.024e-05/0.7557, allocations: 80.09 kB / 1.122 GB, free: 54.15 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00135/0.7571, allocations: 1.396 MB / 1.124 GB, free: 53.39 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/0.7572, allocations: 57.08 kB / 1.124 GB, free: 53.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.7578, allocations: 1.537 MB / 1.125 GB, free: 51.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003336/0.7581, allocations: 0.6131 MB / 1.126 GB, free: 51.22 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.7583, allocations: 40 kB / 1.126 GB, free: 51.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.7583, allocations: 389.9 kB / 1.126 GB, free: 50.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001807/0.7602, allocations: 1.78 MB / 1.128 GB, free: 49.01 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.7621, allocations: 2.342 MB / 1.13 GB, free: 46.41 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004034/0.7662, allocations: 4.375 MB / 1.135 GB, free: 41.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.123e-06/0.7662, allocations: 11.31 kB / 1.135 GB, free: 41.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01375/0.78, allocations: 8.544 MB / 1.143 GB, free: 33.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.78, allocations: 17.41 kB / 1.143 GB, free: 33.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.78, allocations: 16 kB / 1.143 GB, free: 33.18 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01191/0.7919, allocations: 4.626 MB / 1.148 GB, free: 28.54 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008357/0.7928, allocations: 311.4 kB / 1.148 GB, free: 28.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03211/0.8249, allocations: 29.44 MB / 1.177 GB, free: 13.99 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001476/0.8264, allocations: 151.8 kB / 1.177 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001705/0.8266, allocations: 83.98 kB / 1.177 GB, free: 13.76 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.001726/0.8283, allocations: 1.33 MB / 1.178 GB, free: 12.42 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.8286, allocations: 205.5 kB / 1.178 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01528/0.8439, allocations: 8.418 MB / 1.187 GB, free: 3.754 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.231e-05/0.8439, allocations: 24 kB / 1.187 GB, free: 3.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.192e-05/0.844, allocations: 24 kB / 1.187 GB, free: 3.707 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.355e-05/0.844, allocations: 7.969 kB / 1.187 GB, free: 3.699 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02109/0.8651, allocations: 12.84 MB / 1.199 GB, free: 6.727 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/0.8651, allocations: 8.156 kB / 1.199 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.8657, allocations: 163.7 kB / 1.199 GB, free: 6.559 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01286/0.8786, allocations: 4.482 MB / 1.204 GB, free: 2.062 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/0.8787, allocations: 36 kB / 1.204 GB, free: 2.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03719/0.9159, allocations: 29.05 MB / 1.232 GB, free: 4.172 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.953e-06/0.9159, allocations: 15.94 kB / 1.232 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0147/0.9306, allocations: 8.225 MB / 1.24 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001038/0.9317, allocations: 0.6275 MB / 1.241 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.932, allocations: 36 kB / 1.241 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.9333, allocations: 139.8 kB / 1.241 GB, free: 10.98 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004689/0.9337, allocations: 176.8 kB / 1.241 GB, free: 10.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001323/0.9339, allocations: 52 kB / 1.241 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001057/0.9349, allocations: 0.9392 MB / 1.242 GB, free: 9.824 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.21e-07/0.935, allocations: 4 kB / 1.242 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002439/0.9374, allocations: 1.102 MB / 1.243 GB, free: 8.719 MB / 0.7605 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.01496/0.9524, allocations: 8.821 MB / 1.252 GB, free: 15.76 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01043/0.9628, allocations: 6.4 MB / 1.258 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.9628, allocations: 0.875 kB / 1.258 GB, free: 9.293 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.007689/0.9705, allocations: 4.304 MB / 1.262 GB, free: 4.914 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/0.9736, allocations: 484.6 kB / 1.263 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03305/1.007, allocations: 24.53 MB / 1.287 GB, free: 10.84 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00229/1.009, allocations: 2.731 MB / 1.289 GB, free: 8.074 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0008331/1.01, allocations: 380.6 kB / 1.29 GB, free: 7.699 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001043/1.011, allocations: 1.218 MB / 1.291 GB, free: 6.48 MB / 0.8073 GB Notification: Performance of SimCode: time 1.243e-06/1.011, allocations: 4 kB / 1.291 GB, free: 6.477 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.226/4.237, allocations: 78.91 MB / 1.368 GB, free: 8.074 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/4.237, allocations: 250.2 kB / 1.368 GB, free: 7.766 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.553/7.79, allocations: 0 / 1.368 GB, free: 7.766 MB / 0.8855 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)