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_RL_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_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.656/1.656, allocations: 285.4 MB / 298 MB, free: 5.965 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.001095/0.001095, allocations: 184.8 kB / 366.4 MB, free: 2.086 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.646/1.646, allocations: 205.1 MB / 0.6248 GB, free: 7.742 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.0009088/0.0009087, allocations: 89.39 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.928e-05/3.93e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7776/0.7777, allocations: 115.3 MB / 0.971 GB, free: 78.04 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2711/1.049, allocations: 196.3 MB / 1.163 GB, free: 3.352 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003577/1.049, allocations: 99.94 kB / 1.163 GB, free: 3.254 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.9304/1.98, allocations: 113.2 MB / 1.273 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.936e-06/1.98, allocations: 0.6562 kB / 1.273 GB, free: 201.4 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002244/1.98, allocations: 75.91 kB / 1.273 GB, free: 201.4 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01014/1.99, allocations: 2.667 MB / 1.276 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/1.99, allocations: 9 kB / 1.276 GB, free: 200.2 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002041/1.992, allocations: 452.1 kB / 1.276 GB, free: 200.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005897/1.998, allocations: 0.6683 MB / 1.277 GB, free: 200 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007174/2.005, allocations: 2.069 MB / 1.279 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/2.006, allocations: 222 kB / 1.279 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001667/2.007, allocations: 291.6 kB / 1.28 GB, free: 199.5 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01377/2.021, allocations: 4.56 MB / 1.284 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001291/2.021, allocations: 14.95 kB / 1.284 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004743/2.022, allocations: 130.4 kB / 1.284 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002705/2.022, allocations: 172.4 kB / 1.284 GB, free: 198.8 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009152/2.031, allocations: 3.343 MB / 1.288 GB, free: 198.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03163/2.063, allocations: 21.6 MB / 1.309 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/2.065, allocations: 1.272 MB / 1.31 GB, free: 184.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/2.067, allocations: 1.025 MB / 1.311 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.913e-05/2.067, allocations: 11.19 kB / 1.311 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.066e-05/2.067, allocations: 43.69 kB / 1.311 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=107): time 4.859e-06/2.067, allocations: 4 kB / 1.311 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=138): time 0.02106/2.088, allocations: 6.648 MB / 1.318 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/2.088, allocations: 65.38 kB / 1.318 GB, free: 182.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/2.09, allocations: 0.9522 MB / 1.319 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/2.09, allocations: 46.05 kB / 1.319 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008566/2.091, allocations: 1.304 MB / 1.32 GB, free: 180.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000491/2.092, allocations: 488.4 kB / 1.32 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/2.092, allocations: 33.91 kB / 1.32 GB, free: 180.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001217/2.092, allocations: 370.6 kB / 1.321 GB, free: 179.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/2.093, allocations: 0.8628 MB / 1.322 GB, free: 179.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/2.095, allocations: 1.324 MB / 1.323 GB, free: 178.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001735/2.097, allocations: 1.097 MB / 1.324 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.135e-05/2.097, allocations: 4.125 kB / 1.324 GB, free: 178.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.006698/2.104, allocations: 3.377 MB / 1.327 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/2.104, allocations: 19.45 kB / 1.327 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/2.104, allocations: 11.75 kB / 1.327 GB, free: 177.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002936/2.107, allocations: 1.139 MB / 1.328 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/2.108, allocations: 266.7 kB / 1.329 GB, free: 176.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01391/2.122, allocations: 12.44 MB / 1.341 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/2.124, allocations: 95.55 kB / 1.341 GB, free: 169.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002962/2.124, allocations: 65.75 kB / 1.341 GB, free: 169.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004752/2.124, allocations: 200.4 kB / 1.341 GB, free: 169.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005493/2.125, allocations: 162.2 kB / 1.341 GB, free: 169 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005475/2.13, allocations: 3.081 MB / 1.344 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/2.131, allocations: 14.78 kB / 1.344 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-05/2.131, allocations: 14.98 kB / 1.344 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.62e-05/2.131, allocations: 6.797 kB / 1.344 GB, free: 167.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/2.142, allocations: 6.109 MB / 1.35 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.404e-05/2.143, allocations: 3.969 kB / 1.35 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/2.143, allocations: 151 kB / 1.35 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002488/2.146, allocations: 1.025 MB / 1.351 GB, free: 165 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001191/2.146, allocations: 30.59 kB / 1.351 GB, free: 165 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01395/2.16, allocations: 12.13 MB / 1.363 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.604e-06/2.16, allocations: 10.62 kB / 1.363 GB, free: 157.6 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005195/2.165, allocations: 3.31 MB / 1.367 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001262/2.166, allocations: 418.2 kB / 1.367 GB, free: 155.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005776/2.167, allocations: 33.23 kB / 1.367 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/2.168, allocations: 79.39 kB / 1.367 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004318/2.169, allocations: 132.7 kB / 1.367 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.136e-05/2.169, allocations: 33.81 kB / 1.367 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001303/2.17, allocations: 0.7334 MB / 1.368 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2e-07/2.17, allocations: 3 kB / 1.368 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003269/2.173, allocations: 0.6688 MB / 1.369 GB, free: 155.1 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00557/2.179, allocations: 5.095 MB / 1.374 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004485/2.183, allocations: 3.027 MB / 1.377 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.183, allocations: 3.625 kB / 1.377 GB, free: 150.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00272/2.186, allocations: 1.894 MB / 1.378 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002504/2.189, allocations: 426.9 kB / 1.379 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01174/2.2, allocations: 5.09 MB / 1.384 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002821/2.203, allocations: 2.39 MB / 1.386 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001372/2.205, allocations: 347.5 kB / 1.386 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/2.206, allocations: 0.9957 MB / 1.387 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of SimCode: time 2.084e-06/2.206, allocations: 0 / 1.387 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07518/2.281, allocations: 48.74 MB / 1.435 GB, free: 105.5 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002046/2.282, allocations: 207 kB / 1.435 GB, free: 105.3 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.374/5.656, allocations: 0 / 1.435 GB, free: 105.3 MB / 0.8542 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)