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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",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.462/1.462, allocations: 288.4 MB / 303.6 MB, free: 8.168 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.0008542/0.0008543, allocations: 184.2 kB / 372.3 MB, free: 10.09 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.128/1.128, allocations: 205.4 MB / 0.631 GB, free: 9.875 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.0006507/0.0006507, allocations: 102.3 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0002978/0.0002978, allocations: 16.78 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 115.3 MB / 0.9802 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.007313/0.1426, allocations: 10.68 MB / 0.9906 GB, free: 16.5 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.004848/0.1475, allocations: 5.017 MB / 0.9955 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005769/0.1481, allocations: 31.88 kB / 0.9956 GB, free: 11.44 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006653/0.1487, allocations: 302 kB / 0.9959 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0008418/0.1496, allocations: 0.5326 MB / 0.9964 GB, free: 10.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009052/0.1505, allocations: 494.9 kB / 0.9968 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001437/0.152, allocations: 2.809 MB / 0.9996 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003156/0.1551, allocations: 4.054 MB / 1.004 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004506/0.1556, allocations: 0.7279 MB / 1.004 GB, free: 2.453 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006797/0.1563, allocations: 1.005 MB / 1.005 GB, free: 1.445 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.1564, allocations: 96 kB / 1.005 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005496/0.157, allocations: 471.2 kB / 1.006 GB, free: 0.8906 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.1573, allocations: 0.7288 MB / 1.006 GB, free: 164 kB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000567/0.1579, allocations: 0.7757 MB / 1.007 GB, free: 15.38 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001984/0.1599, allocations: 3.023 MB / 1.01 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1599, allocations: 7.938 kB / 1.01 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1599, allocations: 0 / 1.01 GB, free: 12.34 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.403e-05/0.1599, allocations: 3.938 kB / 1.01 GB, free: 12.33 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.002249/0.1622, allocations: 1.617 MB / 1.012 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.1622, allocations: 11.97 kB / 1.012 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002594/0.1625, allocations: 256.4 kB / 1.012 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0018/0.1643, allocations: 478.5 kB / 1.013 GB, free: 9.918 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/0.1658, allocations: 1.151 MB / 1.014 GB, free: 8.727 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.835e-05/0.1659, allocations: 115.4 kB / 1.014 GB, free: 8.613 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.1661, allocations: 151.9 kB / 1.014 GB, free: 8.465 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003331/0.1694, allocations: 2.739 MB / 1.017 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.138e-05/0.1695, allocations: 3.938 kB / 1.017 GB, free: 5.656 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/0.1696, allocations: 67.98 kB / 1.017 GB, free: 5.59 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002817/0.1699, allocations: 174.9 kB / 1.017 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002825/0.1727, allocations: 2.284 MB / 1.019 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00894/0.1817, allocations: 10.52 MB / 1.029 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007996/0.1825, allocations: 0.5841 MB / 1.03 GB, free: 7.125 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004924/0.183, allocations: 384.6 kB / 1.03 GB, free: 6.746 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/0.1831, allocations: 97.08 kB / 1.03 GB, free: 6.633 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.331e-05/0.1831, allocations: 42.5 kB / 1.03 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 2.545e-06/0.1831, allocations: 0 / 1.03 GB, free: 6.582 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.01685/0.2, allocations: 6.27 MB / 1.036 GB, free: 252 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.2, allocations: 85.55 kB / 1.037 GB, free: 144 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008573/0.2009, allocations: 0.8983 MB / 1.037 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.201, allocations: 33.7 kB / 1.037 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.2014, allocations: 0.7499 MB / 1.038 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.2015, allocations: 189.3 kB / 1.038 GB, free: 14.24 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-05/0.2015, allocations: 20 kB / 1.038 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2017, allocations: 390.8 kB / 1.039 GB, free: 13.83 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008278/0.2025, allocations: 0.6343 MB / 1.039 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.2035, allocations: 1.003 MB / 1.04 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001831/0.2054, allocations: 1.666 MB / 1.042 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.2054, allocations: 4 kB / 1.042 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00754/0.2129, allocations: 3.205 MB / 1.045 GB, free: 6.969 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/0.2131, allocations: 435.4 kB / 1.046 GB, free: 6.383 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2132, allocations: 12 kB / 1.046 GB, free: 6.371 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006712/0.2199, allocations: 1.856 MB / 1.047 GB, free: 4.5 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006423/0.2205, allocations: 227.6 kB / 1.048 GB, free: 4.277 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.2321, allocations: 10.23 MB / 1.058 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009195/0.2331, allocations: 171.6 kB / 1.058 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-05/0.2331, allocations: 48 kB / 1.058 GB, free: 9.301 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/0.2332, allocations: 8.062 kB / 1.058 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005904/0.2391, allocations: 2.614 MB / 1.06 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.2391, allocations: 12 kB / 1.06 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004402/0.2435, allocations: 1.203 MB / 1.062 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007043/0.2442, allocations: 251.6 kB / 1.062 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2672/0.5115, allocations: 5.533 MB / 1.067 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.5125, allocations: 148.4 kB / 1.067 GB, free: 81.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.5127, allocations: 43.56 kB / 1.067 GB, free: 81.46 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001046/0.5137, allocations: 0.8489 MB / 1.068 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.5139, allocations: 77.31 kB / 1.068 GB, free: 81.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006824/0.5207, allocations: 2.682 MB / 1.071 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.5207, allocations: 10.31 kB / 1.071 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.5207, allocations: 2.062 kB / 1.071 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.5207, allocations: 2.719 kB / 1.071 GB, free: 81.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009163/0.5299, allocations: 4.63 MB / 1.075 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.5299, allocations: 6.281 kB / 1.075 GB, free: 79.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003427/0.5303, allocations: 98.78 kB / 1.076 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006287/0.5366, allocations: 1.706 MB / 1.077 GB, free: 79.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.945e-05/0.5366, allocations: 13.11 kB / 1.077 GB, free: 79.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009598/0.5462, allocations: 9.762 MB / 1.087 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.5463, allocations: 2 kB / 1.087 GB, free: 72.74 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006325/0.5526, allocations: 2.649 MB / 1.089 GB, free: 72.01 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000328/0.5529, allocations: 283 kB / 1.09 GB, free: 71.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.553, allocations: 15.78 kB / 1.09 GB, free: 71.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/0.5537, allocations: 133.3 kB / 1.09 GB, free: 71.84 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001557/0.5539, allocations: 55.88 kB / 1.09 GB, free: 71.83 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.792e-05/0.5539, allocations: 15.75 kB / 1.09 GB, free: 71.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006192/0.5545, allocations: 0.6344 MB / 1.09 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2e-07/0.5546, allocations: 0 / 1.09 GB, free: 71.56 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001537/0.5561, allocations: 0.5826 MB / 1.091 GB, free: 71.52 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.006437/0.5625, allocations: 3.244 MB / 1.094 GB, free: 70.23 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00394/0.5665, allocations: 3.234 MB / 1.097 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5665, allocations: 4.938 kB / 1.097 GB, free: 68.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001468/0.568, allocations: 1.284 MB / 1.099 GB, free: 68.02 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009904/0.569, allocations: 209.8 kB / 1.099 GB, free: 67.96 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.014/0.583, allocations: 9.825 MB / 1.108 GB, free: 62.4 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/0.584, allocations: 1.619 MB / 1.11 GB, free: 61.24 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001023/0.5851, allocations: 497.8 kB / 1.11 GB, free: 61.04 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004114/0.5855, allocations: 489 kB / 1.111 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.5855, allocations: 0 / 1.111 GB, free: 60.61 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 9.596/10.18, allocations: 34.48 MB / 1.145 GB, free: 33.72 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001688/10.18, allocations: 251.9 kB / 1.145 GB, free: 33.38 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.73/12.91, allocations: 3.906 kB / 1.145 GB, free: 33.38 MB / 0.6823 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)