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.412/1.412, allocations: 251.9 MB / 266.9 MB, free: 11.03 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.001188/0.001187, allocations: 174.8 kB / 326.5 MB, free: 2.227 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.027/2.027, allocations: 205.4 MB / 0.5775 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.001038/0.001038, allocations: 91.56 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.000374, allocations: 13.91 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2644/0.2648, allocations: 106.3 MB / 0.9002 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8695/1.134, allocations: 185.5 MB / 1.081 GB, free: 52.61 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/1.135, allocations: 104 kB / 1.081 GB, free: 52.61 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.15/1.285, allocations: 64.05 MB / 1.144 GB, free: 34.6 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.745e-06/1.285, allocations: 0 / 1.144 GB, free: 34.6 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001537/1.285, allocations: 34.62 kB / 1.144 GB, free: 34.59 MB / 0.698 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.005545/1.291, allocations: 1.661 MB / 1.146 GB, free: 33.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.207e-05/1.291, allocations: 7.656 kB / 1.146 GB, free: 33.54 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001325/1.292, allocations: 251.2 kB / 1.146 GB, free: 33.45 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/1.295, allocations: 0.4932 MB / 1.146 GB, free: 33.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003423/1.299, allocations: 1.145 MB / 1.147 GB, free: 32.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001199/1.299, allocations: 114.8 kB / 1.148 GB, free: 32.75 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006932/1.3, allocations: 149.5 kB / 1.148 GB, free: 32.75 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005558/1.305, allocations: 2.483 MB / 1.15 GB, free: 32.06 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.333e-05/1.305, allocations: 3.844 kB / 1.15 GB, free: 32.06 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/1.305, allocations: 64.77 kB / 1.15 GB, free: 32.06 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.388e-05/1.305, allocations: 84.38 kB / 1.15 GB, free: 32.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002993/1.308, allocations: 2.046 MB / 1.152 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/1.319, allocations: 10.52 MB / 1.163 GB, free: 24.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008711/1.32, allocations: 0.5734 MB / 1.163 GB, free: 24.43 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001069/1.32, allocations: 92.53 kB / 1.163 GB, free: 24.32 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.32, allocations: 37.84 kB / 1.163 GB, free: 24.29 MB / 0.698 GB Notification: Performance of pre-optimization done (n=36): time 2.995e-06/1.32, allocations: 0 / 1.163 GB, free: 24.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=52): time 0.01591/1.336, allocations: 5.711 MB / 1.169 GB, free: 22.11 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/1.336, allocations: 81.48 kB / 1.169 GB, free: 22.02 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/1.337, allocations: 0.8184 MB / 1.17 GB, free: 21.75 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001077/1.337, allocations: 35.92 kB / 1.17 GB, free: 21.71 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003531/1.338, allocations: 0.7535 MB / 1.17 GB, free: 21.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/1.338, allocations: 188.6 kB / 1.171 GB, free: 21.06 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.575e-05/1.338, allocations: 22.06 kB / 1.171 GB, free: 21.06 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001124/1.338, allocations: 393.3 kB / 1.171 GB, free: 20.72 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/1.339, allocations: 0.6382 MB / 1.172 GB, free: 20.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009756/1.34, allocations: 1.005 MB / 1.173 GB, free: 20 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009974/1.341, allocations: 0.8152 MB / 1.173 GB, free: 19.86 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/1.341, allocations: 3.844 kB / 1.173 GB, free: 19.86 MB / 0.698 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.006566/1.347, allocations: 2.931 MB / 1.176 GB, free: 18.94 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008713/1.348, allocations: 4.527 MB / 1.181 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/1.348, allocations: 11.62 kB / 1.181 GB, free: 14.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005941/1.354, allocations: 1.568 MB / 1.182 GB, free: 13.57 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/1.355, allocations: 221.5 kB / 1.182 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007244/1.363, allocations: 7.125 MB / 1.189 GB, free: 9.035 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/1.364, allocations: 160.5 kB / 1.19 GB, free: 8.973 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-05/1.364, allocations: 42.25 kB / 1.19 GB, free: 8.973 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.295e-05/1.364, allocations: 7.828 kB / 1.19 GB, free: 8.969 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005637/1.37, allocations: 2.403 MB / 1.192 GB, free: 8.277 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.189e-05/1.37, allocations: 12 kB / 1.192 GB, free: 8.266 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004015/1.374, allocations: 1.002 MB / 1.193 GB, free: 7.363 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/1.375, allocations: 254.9 kB / 1.193 GB, free: 7.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006573/1.382, allocations: 5.61 MB / 1.199 GB, free: 2.125 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001461/1.383, allocations: 135.7 kB / 1.199 GB, free: 1.992 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.383, allocations: 40 kB / 1.199 GB, free: 1.953 MB / 0.698 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.0017/1.385, allocations: 0.8479 MB / 1.2 GB, free: 1.094 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/1.385, allocations: 75.06 kB / 1.2 GB, free: 1.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006658/1.392, allocations: 2.467 MB / 1.202 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-06/1.392, allocations: 4 kB / 1.202 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/1.392, allocations: 4 kB / 1.202 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/1.392, allocations: 7.922 kB / 1.202 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/1.403, allocations: 4.293 MB / 1.206 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.403, allocations: 3.938 kB / 1.206 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004623/1.403, allocations: 116 kB / 1.206 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006177/1.409, allocations: 1.498 MB / 1.208 GB, free: 8.508 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/1.409, allocations: 16 kB / 1.208 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01351/1.423, allocations: 9.923 MB / 1.218 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.849e-05/1.423, allocations: 4 kB / 1.218 GB, free: 14.03 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006982/1.43, allocations: 2.529 MB / 1.22 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000807/1.431, allocations: 284 kB / 1.22 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/1.431, allocations: 12 kB / 1.22 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/1.432, allocations: 131.8 kB / 1.221 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/1.432, allocations: 51.61 kB / 1.221 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.701e-05/1.432, allocations: 16 kB / 1.221 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.000969/1.433, allocations: 0.6356 MB / 1.221 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.433, allocations: 3.938 kB / 1.221 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00219/1.435, allocations: 0.6055 MB / 1.222 GB, free: 9.66 MB / 0.7292 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.007636/1.443, allocations: 3.714 MB / 1.225 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.006242/1.449, allocations: 3.092 MB / 1.228 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/1.449, allocations: 0 / 1.228 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002125/1.451, allocations: 1.281 MB / 1.23 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001225/1.452, allocations: 198.8 kB / 1.23 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02231/1.475, allocations: 17.18 MB / 1.247 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001541/1.476, allocations: 1.649 MB / 1.248 GB, free: 13.99 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001341/1.478, allocations: 486.4 kB / 1.249 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006317/1.478, allocations: 487.3 kB / 1.249 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of SimCode: time 1.363e-06/1.478, allocations: 4 kB / 1.249 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06154/1.54, allocations: 33.51 MB / 1.282 GB, free: 11.88 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002198/1.54, allocations: 251.9 kB / 1.282 GB, free: 11.55 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.586/4.126, allocations: 0 / 1.282 GB, free: 11.55 MB / 0.7917 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)