Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,fileNamePrefix="Buildings_8_0_0_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_8_0_0_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.0/package.mo): time 2.907/2.907, allocations: 287.3 MB / 302.3 MB, free: 8.277 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.00147/0.00147, allocations: 191.7 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.17/2.17, allocations: 205.4 MB / 0.6295 GB, free: 10.64 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.001184/0.001184, allocations: 93.91 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000685/0.0006852, allocations: 11.72 kB / 0.8657 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2195, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02765/0.2472, allocations: 19.79 MB / 0.9976 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01327/0.2605, allocations: 5.999 MB / 1.003 GB, free: 2.426 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002251/0.2628, allocations: 75.5 kB / 1.004 GB, free: 2.352 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001831/0.2647, allocations: 429.3 kB / 1.004 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.2693, allocations: 1.11 MB / 1.005 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003651/0.273, allocations: 0.8232 MB / 1.006 GB, free: 15.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.006875/0.2799, allocations: 2.796 MB / 1.009 GB, free: 13.19 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0152/0.2951, allocations: 6.216 MB / 1.015 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003941/0.2991, allocations: 1.487 MB / 1.016 GB, free: 5.426 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004421/0.3036, allocations: 1.721 MB / 1.018 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001074/0.3047, allocations: 200 kB / 1.018 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00251/0.3072, allocations: 447.6 kB / 1.018 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.003371/0.3106, allocations: 1.563 MB / 1.02 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.3126, allocations: 0.7264 MB / 1.021 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.009969/0.3227, allocations: 5.883 MB / 1.026 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3227, allocations: 4 kB / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3227, allocations: 0 / 1.026 GB, free: 10.86 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002212/0.323, allocations: 0 / 1.026 GB, free: 10.86 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.01044/0.3334, allocations: 3.101 MB / 1.029 GB, free: 7.703 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.512e-05/0.3335, allocations: 8.031 kB / 1.029 GB, free: 7.695 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001916/0.3354, allocations: 0.4935 MB / 1.03 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0115/0.347, allocations: 1.252 MB / 1.031 GB, free: 5.934 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007001/0.354, allocations: 2.157 MB / 1.033 GB, free: 3.719 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003558/0.3544, allocations: 242.4 kB / 1.033 GB, free: 3.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/0.3558, allocations: 315.9 kB / 1.034 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02584/0.3817, allocations: 6.166 MB / 1.04 GB, free: 12.75 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001644/0.3819, allocations: 11.88 kB / 1.04 GB, free: 12.74 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009624/0.3829, allocations: 147.9 kB / 1.04 GB, free: 12.6 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008671/0.3838, allocations: 406.3 kB / 1.04 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/0.3985, allocations: 4.639 MB / 1.045 GB, free: 7.551 MB / 0.6667 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.6875/1.086, allocations: 29.04 MB / 1.073 GB, free: 70.37 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003838/1.09, allocations: 1.415 MB / 1.075 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002426/1.09, allocations: 12.31 kB / 1.075 GB, free: 70.34 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/1.09, allocations: 47.14 kB / 1.075 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=110): time 4.459e-06/1.09, allocations: 0 / 1.075 GB, free: 70.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=179): time 0.3166/1.407, allocations: 36.3 MB / 1.11 GB, free: 62.23 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.177e-05/1.407, allocations: 74.39 kB / 1.11 GB, free: 62.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004018/1.411, allocations: 1.408 MB / 1.112 GB, free: 61.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0006335/1.412, allocations: 53.67 kB / 1.112 GB, free: 61.34 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00165/1.413, allocations: 1.538 MB / 1.113 GB, free: 60 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/1.415, allocations: 0.6129 MB / 1.114 GB, free: 59.47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004177/1.415, allocations: 39.94 kB / 1.114 GB, free: 59.44 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.415, allocations: 393.5 kB / 1.114 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005997/1.421, allocations: 1.778 MB / 1.116 GB, free: 58.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006711/1.428, allocations: 2.328 MB / 1.118 GB, free: 56.48 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006823/1.435, allocations: 2.055 MB / 1.12 GB, free: 55.39 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.543e-05/1.435, allocations: 7.75 kB / 1.12 GB, free: 55.39 MB / 0.6823 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.04533/1.481, allocations: 8.541 MB / 1.128 GB, free: 47.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.519e-05/1.481, allocations: 12 kB / 1.129 GB, free: 47.98 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.173e-05/1.481, allocations: 20.09 kB / 1.129 GB, free: 47.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03947/1.52, allocations: 4.617 MB / 1.133 GB, free: 43.32 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003028/1.523, allocations: 307.4 kB / 1.133 GB, free: 43.02 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1033/1.627, allocations: 30.84 MB / 1.163 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004933/1.632, allocations: 147.8 kB / 1.164 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007648/1.632, allocations: 84 kB / 1.164 GB, free: 11.18 MB / 0.6823 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.004999/1.638, allocations: 1.333 MB / 1.165 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001027/1.639, allocations: 201.6 kB / 1.165 GB, free: 9.637 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04472/1.683, allocations: 8.414 MB / 1.173 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.283e-05/1.683, allocations: 16.22 kB / 1.173 GB, free: 1.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001713/1.684, allocations: 24 kB / 1.173 GB, free: 1.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.594e-05/1.684, allocations: 19.89 kB / 1.173 GB, free: 1.117 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06756/1.751, allocations: 12.82 MB / 1.186 GB, free: 4.156 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/1.751, allocations: 8.797 kB / 1.186 GB, free: 4.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001993/1.753, allocations: 163.8 kB / 1.186 GB, free: 3.988 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03864/1.792, allocations: 4.487 MB / 1.19 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004721/1.793, allocations: 36 kB / 1.191 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.08865/1.881, allocations: 30.45 MB / 1.22 GB, free: 208 kB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.27e-05/1.881, allocations: 11.94 kB / 1.22 GB, free: 196 kB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05161/1.933, allocations: 8.631 MB / 1.229 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003731/1.937, allocations: 0.6156 MB / 1.229 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001255/1.938, allocations: 39.98 kB / 1.229 GB, free: 6.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004647/1.943, allocations: 135.8 kB / 1.229 GB, free: 6.453 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002033/1.945, allocations: 172.5 kB / 1.23 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006208/1.946, allocations: 52 kB / 1.23 GB, free: 6.238 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.003565/1.949, allocations: 0.9431 MB / 1.231 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.463e-06/1.949, allocations: 0 / 1.231 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008489/1.958, allocations: 1.102 MB / 1.232 GB, free: 4.199 MB / 0.7448 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.05182/2.01, allocations: 10.99 MB / 1.242 GB, free: 8.961 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.03453/2.044, allocations: 6.406 MB / 1.249 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.605e-05/2.044, allocations: 0 / 1.249 GB, free: 2.488 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.02526/2.07, allocations: 4.291 MB / 1.253 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006054/2.076, allocations: 463.8 kB / 1.253 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1214/2.197, allocations: 36.03 MB / 1.288 GB, free: 8.473 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006137/2.203, allocations: 2.789 MB / 1.291 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002169/2.205, allocations: 380.6 kB / 1.292 GB, free: 5.273 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002689/2.208, allocations: 1.226 MB / 1.293 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of SimCode: time 1.243e-06/2.208, allocations: 0 / 1.293 GB, free: 4.047 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2403/2.449, allocations: 78.59 MB / 1.37 GB, free: 5.945 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003573/2.449, allocations: 238.6 kB / 1.37 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.553/7.002, allocations: 0 / 1.37 GB, free: 5.699 MB / 0.8855 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RL.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)