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.ACSimpleGrid.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.ACSimpleGrid,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.415/1.415, allocations: 249.5 MB / 257 MB, free: 6.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 179.4 kB / 316.3 MB, free: 3.254 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.378/1.378, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.0008972/0.000897, allocations: 86.48 kB / 0.6714 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.739e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1918, allocations: 106.4 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6818/0.8737, allocations: 185.7 MB / 1.067 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.874, allocations: 93.5 kB / 1.067 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1564/1.03, allocations: 63.45 MB / 1.129 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.583e-06/1.03, allocations: 0 / 1.129 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001541/1.031, allocations: 47.86 kB / 1.129 GB, free: 12.15 MB / 0.7448 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.00448/1.035, allocations: 1.558 MB / 1.13 GB, free: 10.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/1.035, allocations: 11.97 kB / 1.13 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00292/1.038, allocations: 497.5 kB / 1.131 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002417/1.041, allocations: 1.149 MB / 1.132 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.296e-05/1.041, allocations: 51.94 kB / 1.132 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003225/1.041, allocations: 95.91 kB / 1.132 GB, free: 8.707 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00292/1.044, allocations: 1.767 MB / 1.134 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003303/1.047, allocations: 2.21 MB / 1.136 GB, free: 4.664 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.955e-05/1.047, allocations: 15.91 kB / 1.136 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/1.047, allocations: 0 / 1.136 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/1.048, allocations: 83.06 kB / 1.136 GB, free: 4.566 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01062/1.058, allocations: 10.11 MB / 1.146 GB, free: 9.582 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007801/1.059, allocations: 0.5452 MB / 1.146 GB, free: 9.027 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004668/1.059, allocations: 360.7 kB / 1.147 GB, free: 8.672 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001188/1.06, allocations: 89.09 kB / 1.147 GB, free: 8.566 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/1.06, allocations: 42.48 kB / 1.147 GB, free: 8.516 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=36): time 1.914e-06/1.06, allocations: 8 kB / 1.147 GB, free: 8.508 MB / 0.7605 GB Notification: Performance of matching and sorting (n=52): time 0.008052/1.068, allocations: 3.147 MB / 1.15 GB, free: 5.336 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/1.068, allocations: 81.55 kB / 1.15 GB, free: 5.238 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/1.069, allocations: 0.7218 MB / 1.151 GB, free: 4.508 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.696e-05/1.069, allocations: 25.7 kB / 1.151 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004912/1.069, allocations: 0.7615 MB / 1.152 GB, free: 3.703 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001753/1.07, allocations: 181.4 kB / 1.152 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.846e-05/1.07, allocations: 4 kB / 1.152 GB, free: 3.52 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.07, allocations: 386.7 kB / 1.152 GB, free: 3.133 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008712/1.071, allocations: 0.5765 MB / 1.153 GB, free: 2.559 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/1.072, allocations: 0.9378 MB / 1.154 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/1.073, allocations: 0.8334 MB / 1.154 GB, free: 0.6133 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.634e-06/1.073, allocations: 4 kB / 1.154 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.005834/1.079, allocations: 2.582 MB / 1.157 GB, free: 14 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.001451/1.081, allocations: 4.521 MB / 1.161 GB, free: 9.129 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.248e-05/1.081, allocations: 12 kB / 1.161 GB, free: 9.117 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004192/1.085, allocations: 1.088 MB / 1.162 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009214/1.086, allocations: 223.6 kB / 1.163 GB, free: 7.797 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007215/1.093, allocations: 6.541 MB / 1.169 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/1.094, allocations: 147.6 kB / 1.169 GB, free: 0.8203 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/1.094, allocations: 47.94 kB / 1.169 GB, free: 0.7734 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/1.094, allocations: 4 kB / 1.169 GB, free: 0.7695 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001942/1.096, allocations: 1.275 MB / 1.17 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.096, allocations: 8 kB / 1.17 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/1.096, allocations: 20 kB / 1.17 GB, free: 15.47 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009481/1.097, allocations: 275.6 kB / 1.171 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.947e-05/1.097, allocations: 31.81 kB / 1.171 GB, free: 15.17 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000709/1.098, allocations: 103.9 kB / 1.171 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.666e-05/1.098, allocations: 47.94 kB / 1.171 GB, free: 15.02 MB / 0.7917 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 () * 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.0002074/1.098, allocations: 132.7 kB / 1.171 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005185/1.104, allocations: 2.156 MB / 1.173 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/1.104, allocations: 79.11 kB / 1.173 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005571/1.109, allocations: 2.266 MB / 1.175 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/1.109, allocations: 8 kB / 1.175 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.149e-06/1.109, allocations: 0 / 1.175 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/1.109, allocations: 0 / 1.175 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007608/1.117, allocations: 3.896 MB / 1.179 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.604e-06/1.117, allocations: 4 kB / 1.179 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003868/1.117, allocations: 100.1 kB / 1.179 GB, free: 6.223 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004572/1.122, allocations: 1.349 MB / 1.181 GB, free: 4.859 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.241e-05/1.122, allocations: 7.938 kB / 1.181 GB, free: 4.852 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01023/1.132, allocations: 9.116 MB / 1.19 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.132, allocations: 7.938 kB / 1.19 GB, free: 11.27 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005403/1.138, allocations: 2.323 MB / 1.192 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000511/1.138, allocations: 272.1 kB / 1.192 GB, free: 8.551 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001159/1.138, allocations: 7.984 kB / 1.192 GB, free: 8.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/1.139, allocations: 151.7 kB / 1.192 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000169/1.139, allocations: 51.94 kB / 1.192 GB, free: 8.344 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.366e-05/1.14, allocations: 16 kB / 1.192 GB, free: 8.328 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000729/1.14, allocations: 0.5576 MB / 1.193 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.8e-07/1.14, allocations: 0 / 1.193 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001823/1.142, allocations: 0.5468 MB / 1.193 GB, free: 7.227 MB / 0.8073 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 () * 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.006071/1.148, allocations: 3.534 MB / 1.197 GB, free: 3.598 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003534/1.152, allocations: 2.348 MB / 1.199 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.952e-06/1.152, allocations: 0 / 1.199 GB, free: 1.23 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.153, allocations: 1.187 MB / 1.2 GB, free: 4 kB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009802/1.154, allocations: 190.4 kB / 1.2 GB, free: 15.82 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/1.159, allocations: 2.834 MB / 1.203 GB, free: 12.92 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001315/1.161, allocations: 1.638 MB / 1.205 GB, free: 11.25 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001429/1.162, allocations: 0.5875 MB / 1.205 GB, free: 10.65 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005544/1.163, allocations: 475.3 kB / 1.206 GB, free: 10.19 MB / 0.823 GB Notification: Performance of SimCode: time 4.41e-07/1.163, allocations: 4 kB / 1.206 GB, free: 10.19 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06218/1.225, allocations: 29.76 MB / 1.235 GB, free: 12.54 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002371/1.225, allocations: 177 kB / 1.235 GB, free: 12.35 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/3.625, allocations: 0 / 1.235 GB, free: 12.35 MB / 0.8542 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)