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.ACLine_L_N.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.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.748/1.748, allocations: 288.2 MB / 303.2 MB, free: 8.266 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.001148/0.001148, allocations: 193 kB / 371.8 MB, free: 10.27 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.688/1.688, allocations: 205.4 MB / 0.6305 GB, free: 9.934 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.0008478/0.0008479, allocations: 101 kB / 0.7439 GB, free: 5.863 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006483/0.0006486, allocations: 11.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2665/0.2672, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8321/1.099, allocations: 171.1 MB / 1.147 GB, free: 10.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/1.1, allocations: 95.97 kB / 1.147 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.5023/1.602, allocations: 200.1 MB / 1.342 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of FrontEnd: time 5.26e-06/1.602, allocations: 3.984 kB / 1.342 GB, free: 13.23 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005713/1.603, allocations: 143.8 kB / 1.342 GB, free: 13.09 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.02099/1.624, allocations: 4.748 MB / 1.347 GB, free: 8.273 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 6.932e-05/1.624, allocations: 16.03 kB / 1.347 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004768/1.629, allocations: 0.8127 MB / 1.348 GB, free: 7.434 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01023/1.639, allocations: 1.047 MB / 1.349 GB, free: 6.379 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.012/1.651, allocations: 3.41 MB / 1.352 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005501/1.651, allocations: 415.1 kB / 1.352 GB, free: 2.504 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003006/1.654, allocations: 0.535 MB / 1.353 GB, free: 1.969 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02797/1.682, allocations: 8.589 MB / 1.361 GB, free: 8.949 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004409/1.683, allocations: 27.69 kB / 1.361 GB, free: 8.922 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002701/1.686, allocations: 244 kB / 1.362 GB, free: 8.684 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000476/1.686, allocations: 314.8 kB / 1.362 GB, free: 8.375 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/1.704, allocations: 6.151 MB / 1.368 GB, free: 2.215 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06308/1.767, allocations: 40.1 MB / 1.407 GB, free: 6.398 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/1.772, allocations: 3.089 MB / 1.41 GB, free: 3.16 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001926/1.772, allocations: 18 kB / 1.41 GB, free: 3.145 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.327e-05/1.772, allocations: 52.56 kB / 1.41 GB, free: 3.086 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=179): time 4.078e-06/1.772, allocations: 0 / 1.41 GB, free: 3.086 MB / 0.9323 GB Notification: Performance of matching and sorting (n=182): time 0.02781/1.8, allocations: 9.865 MB / 1.42 GB, free: 9.121 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/1.8, allocations: 69.41 kB / 1.42 GB, free: 9.039 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/1.803, allocations: 1.302 MB / 1.421 GB, free: 7.699 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003111/1.803, allocations: 53.7 kB / 1.421 GB, free: 7.641 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001888/1.805, allocations: 2.242 MB / 1.423 GB, free: 5.367 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009399/1.806, allocations: 0.6277 MB / 1.424 GB, free: 4.73 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002029/1.806, allocations: 48 kB / 1.424 GB, free: 4.684 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002516/1.807, allocations: 394.3 kB / 1.424 GB, free: 4.293 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00197/1.809, allocations: 1.164 MB / 1.426 GB, free: 3.125 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002499/1.811, allocations: 1.855 MB / 1.427 GB, free: 0.957 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.6507/2.462, allocations: 1.494 MB / 1.429 GB, free: 227.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.712e-05/2.462, allocations: 5.938 kB / 1.429 GB, free: 227.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.009336/2.471, allocations: 4.546 MB / 1.433 GB, free: 227.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.699e-05/2.471, allocations: 17.06 kB / 1.433 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/2.471, allocations: 19.59 kB / 1.433 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004213/2.476, allocations: 1.582 MB / 1.435 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001551/2.477, allocations: 353 kB / 1.435 GB, free: 227.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02569/2.503, allocations: 17.69 MB / 1.452 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/2.505, allocations: 117.1 kB / 1.453 GB, free: 222 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002854/2.506, allocations: 93.08 kB / 1.453 GB, free: 222 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (174): * Single equations (assignments): 170 * 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 {(12,30.6%) 26,(6,66.7%) 24,(6,66.7%) 16,(6,66.7%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004814/2.51, allocations: 1.888 MB / 1.454 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007265/2.511, allocations: 221.2 kB / 1.455 GB, free: 221.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008399/2.52, allocations: 4.095 MB / 1.459 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.598e-05/2.52, allocations: 18.44 kB / 1.459 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.38e-05/2.52, allocations: 16.73 kB / 1.459 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-05/2.52, allocations: 10.45 kB / 1.459 GB, free: 221.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02025/2.54, allocations: 9.393 MB / 1.468 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-05/2.54, allocations: 11.88 kB / 1.468 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009134/2.541, allocations: 183.4 kB / 1.468 GB, free: 220.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003694/2.545, allocations: 1.353 MB / 1.469 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/2.545, allocations: 38.28 kB / 1.469 GB, free: 220.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02134/2.566, allocations: 16.54 MB / 1.486 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/2.566, allocations: 3.656 kB / 1.486 GB, free: 215.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006785/2.573, allocations: 4.344 MB / 1.49 GB, free: 214.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001618/2.575, allocations: 0.5352 MB / 1.49 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002694/2.575, allocations: 40.7 kB / 1.49 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008905/2.576, allocations: 83.86 kB / 1.491 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005619/2.577, allocations: 166 kB / 1.491 GB, free: 214.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/2.577, allocations: 44.91 kB / 1.491 GB, free: 214.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001391/2.578, allocations: 0.9898 MB / 1.492 GB, free: 214 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/2.578, allocations: 0 / 1.492 GB, free: 214 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004924/2.583, allocations: 1.03 MB / 1.493 GB, free: 214 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (85): * Single equations (assignments): 81 * 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 {(6,66.7%) 16,(6,66.7%) 16,(6,66.7%) 24,(6,66.7%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006957/2.59, allocations: 6.097 MB / 1.499 GB, free: 211.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007281/2.597, allocations: 4.267 MB / 1.503 GB, free: 210.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-05/2.597, allocations: 0 / 1.503 GB, free: 210.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.004497/2.602, allocations: 2.669 MB / 1.505 GB, free: 209 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004148/2.606, allocations: 0.6781 MB / 1.506 GB, free: 208.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05325/2.659, allocations: 37.33 MB / 1.543 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007215/2.667, allocations: 3.664 MB / 1.546 GB, free: 180.6 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001918/2.669, allocations: 466.4 kB / 1.547 GB, free: 180.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00254/2.671, allocations: 1.793 MB / 1.548 GB, free: 179 MB / 0.948 GB Notification: Performance of SimCode: time 1.383e-06/2.671, allocations: 0 / 1.548 GB, free: 179 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1238/2.795, allocations: 71.05 MB / 1.618 GB, free: 168.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/2.795, allocations: 237.1 kB / 1.618 GB, free: 168.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.035/6.83, allocations: 3.828 kB / 1.618 GB, free: 168.4 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1)