Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.685/1.685, allocations: 289.9 MB / 297.4 MB, free: 6.426 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.001221/0.001221, allocations: 180.9 kB / 366.7 MB, free: 1.707 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.737/1.737, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 87.31 kB / 0.74 GB, free: 39.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.494e-05/2.496e-05, allocations: 4 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.674/0.6741, allocations: 116.3 MB / 0.9733 GB, free: 76.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2187/0.8929, allocations: 164.6 MB / 1.134 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/0.8932, allocations: 91.94 kB / 1.134 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.09094/0.9841, allocations: 37.11 MB / 1.17 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.593e-06/0.9842, allocations: 0 / 1.17 GB, free: 12.04 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.438e-05/0.9843, allocations: 23.98 kB / 1.17 GB, free: 12.01 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001784/0.9861, allocations: 0.8761 MB / 1.171 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.9861, allocations: 8.031 kB / 1.171 GB, free: 11.08 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.9878, allocations: 210.8 kB / 1.172 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001169/0.989, allocations: 0.5464 MB / 1.172 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.308e-05/0.989, allocations: 23.98 kB / 1.172 GB, free: 10.26 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001369/0.9892, allocations: 43.98 kB / 1.172 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001031/0.9902, allocations: 0.548 MB / 1.173 GB, free: 9.676 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.9916, allocations: 0.9872 MB / 1.174 GB, free: 8.539 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.07e-05/0.9917, allocations: 4 kB / 1.174 GB, free: 8.535 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.274e-05/0.9917, allocations: 4 kB / 1.174 GB, free: 8.531 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.026e-05/0.9918, allocations: 57.28 kB / 1.174 GB, free: 8.477 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005517/0.9974, allocations: 5.637 MB / 1.179 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008/0.9982, allocations: 0.5829 MB / 1.18 GB, free: 1.801 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/0.9988, allocations: 385.6 kB / 1.18 GB, free: 1.422 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.9989, allocations: 8 kB / 1.18 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.9989, allocations: 39.25 kB / 1.18 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=41): time 2.074e-06/0.9989, allocations: 0 / 1.18 GB, free: 1.367 MB / 0.7761 GB Notification: Performance of matching and sorting (n=42): time 0.002224/1.001, allocations: 1.15 MB / 1.181 GB, free: 200 kB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/1.001, allocations: 55.41 kB / 1.181 GB, free: 132 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003768/1.002, allocations: 337.2 kB / 1.182 GB, free: 15.79 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/1.002, allocations: 27.58 kB / 1.182 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002209/1.002, allocations: 387 kB / 1.182 GB, free: 15.38 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/1.002, allocations: 141.9 kB / 1.182 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/1.002, allocations: 0 / 1.182 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001317/1.002, allocations: 358.8 kB / 1.183 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002955/1.002, allocations: 221 kB / 1.183 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004361/1.003, allocations: 412.4 kB / 1.183 GB, free: 14.17 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004038/1.003, allocations: 292.4 kB / 1.183 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/1.003, allocations: 7.938 kB / 1.183 GB, free: 13.88 MB / 0.7917 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001704/1.005, allocations: 0.9251 MB / 1.184 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/1.005, allocations: 9.25 kB / 1.184 GB, free: 12.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/1.005, allocations: 8 kB / 1.184 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000974/1.006, allocations: 307.9 kB / 1.185 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003206/1.006, allocations: 91.83 kB / 1.185 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006906/1.013, allocations: 6.84 MB / 1.191 GB, free: 5.199 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/1.014, allocations: 22.59 kB / 1.191 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/1.014, allocations: 20 kB / 1.191 GB, free: 5.16 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 45 * 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: 4 {(2,100.0%) 8,(1,100.0%) 5,(1,100.0%) 3,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001544/1.014, allocations: 121.1 kB / 1.192 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001477/1.016, allocations: 0.8076 MB / 1.192 GB, free: 4.207 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/1.016, allocations: 59.3 kB / 1.192 GB, free: 4.148 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/1.017, allocations: 0.8335 MB / 1.193 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/1.017, allocations: 11.95 kB / 1.193 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/1.017, allocations: 7.984 kB / 1.193 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/1.017, allocations: 0 / 1.193 GB, free: 3.277 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00276/1.02, allocations: 1.72 MB / 1.195 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.02, allocations: 0 / 1.195 GB, free: 1.457 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/1.02, allocations: 44.94 kB / 1.195 GB, free: 1.414 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008137/1.021, allocations: 267.4 kB / 1.195 GB, free: 1.141 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.107e-05/1.021, allocations: 4 kB / 1.195 GB, free: 1.137 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00621/1.028, allocations: 6.567 MB / 1.202 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.462e-06/1.028, allocations: 2.25 kB / 1.202 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001596/1.029, allocations: 0.9626 MB / 1.203 GB, free: 9.043 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003015/1.03, allocations: 168.3 kB / 1.203 GB, free: 8.859 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.869e-05/1.03, allocations: 4 kB / 1.203 GB, free: 8.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/1.03, allocations: 19.97 kB / 1.203 GB, free: 8.836 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/1.03, allocations: 34.3 kB / 1.203 GB, free: 8.805 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/1.03, allocations: 16 kB / 1.203 GB, free: 8.789 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0003115/1.03, allocations: 251 kB / 1.203 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.21e-07/1.03, allocations: 0 / 1.203 GB, free: 8.547 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0009343/1.031, allocations: 175.9 kB / 1.203 GB, free: 8.375 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * 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: 4 {(1,100.0%) 7,(2,100.0%) 2,(1,100.0%) 3,(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001899/1.033, allocations: 1.934 MB / 1.205 GB, free: 6.363 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001581/1.035, allocations: 1.085 MB / 1.206 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/1.035, allocations: 0 / 1.206 GB, free: 5.234 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001073/1.036, allocations: 0.7802 MB / 1.207 GB, free: 4.414 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/1.037, allocations: 152.7 kB / 1.207 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/1.039, allocations: 1.029 MB / 1.208 GB, free: 3.18 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006436/1.04, allocations: 1.004 MB / 1.209 GB, free: 2.148 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003345/1.04, allocations: 98.92 kB / 1.209 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002683/1.04, allocations: 227.4 kB / 1.209 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/1.04, allocations: 0 / 1.209 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03914/1.079, allocations: 12.9 MB / 1.222 GB, free: 5.094 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/1.08, allocations: 152.6 kB / 1.222 GB, free: 4.906 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.379/3.459, allocations: 0 / 1.222 GB, free: 4.906 MB / 0.823 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)