Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.827/2.827, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.00132/0.00132, allocations: 186.1 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.169/2.169, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.001023/0.001022, allocations: 91.05 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007524/0.0007529, allocations: 11 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2204, allocations: 115.3 MB / 0.9785 GB, free: 28.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.01582/0.2363, allocations: 10.67 MB / 0.9889 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0103/0.2467, allocations: 5.014 MB / 0.9938 GB, free: 12.5 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001185/0.2479, allocations: 31.88 kB / 0.9938 GB, free: 12.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001382/0.2493, allocations: 286.1 kB / 0.9941 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.2513, allocations: 0.5209 MB / 0.9946 GB, free: 11.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.2534, allocations: 456.4 kB / 0.995 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003614/0.257, allocations: 2.782 MB / 0.9978 GB, free: 8.426 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007205/0.2643, allocations: 3.628 MB / 1.001 GB, free: 4.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.266, allocations: 0.7279 MB / 1.002 GB, free: 4.02 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002029/0.2681, allocations: 1.001 MB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0004188/0.2686, allocations: 99.94 kB / 1.003 GB, free: 2.918 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001427/0.27, allocations: 295.7 kB / 1.003 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0009591/0.271, allocations: 0.7209 MB / 1.004 GB, free: 1.906 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005289/0.2715, allocations: 345 kB / 1.004 GB, free: 1.562 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.004844/0.2764, allocations: 3.02 MB / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.135e-05/0.2765, allocations: 0 / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.028e-06/0.2765, allocations: 0 / 1.007 GB, free: 14.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001114/0.2766, allocations: 4 kB / 1.007 GB, free: 14.53 MB / 0.6355 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.005959/0.2826, allocations: 1.628 MB / 1.009 GB, free: 12.85 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.2827, allocations: 8.031 kB / 1.009 GB, free: 12.84 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009545/0.2836, allocations: 256.2 kB / 1.009 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/0.2877, allocations: 485.5 kB / 1.01 GB, free: 12.1 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003668/0.2914, allocations: 1.127 MB / 1.011 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001754/0.2916, allocations: 115.1 kB / 1.011 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007034/0.2923, allocations: 159.9 kB / 1.011 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008415/0.3008, allocations: 2.747 MB / 1.014 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.832e-05/0.3009, allocations: 0 / 1.014 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003272/0.3012, allocations: 64 kB / 1.014 GB, free: 7.785 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006405/0.3019, allocations: 170.9 kB / 1.014 GB, free: 7.617 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007501/0.3094, allocations: 2.288 MB / 1.016 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02172/0.3312, allocations: 10.54 MB / 1.026 GB, free: 9.902 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001875/0.3331, allocations: 0.5764 MB / 1.027 GB, free: 9.316 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/0.3343, allocations: 388.5 kB / 1.027 GB, free: 8.934 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002239/0.3345, allocations: 97.08 kB / 1.027 GB, free: 8.82 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.3346, allocations: 34.56 kB / 1.028 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.767e-06/0.3346, allocations: 3.938 kB / 1.028 GB, free: 8.773 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.03861/0.3732, allocations: 6.268 MB / 1.034 GB, free: 2.441 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.3734, allocations: 89.48 kB / 1.034 GB, free: 2.332 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002061/0.3755, allocations: 0.8906 MB / 1.035 GB, free: 1.434 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001996/0.3757, allocations: 33.7 kB / 1.035 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008681/0.3766, allocations: 0.7577 MB / 1.035 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003237/0.3769, allocations: 185.4 kB / 1.036 GB, free: 452 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001171/0.3771, allocations: 20 kB / 1.036 GB, free: 432 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002945/0.3774, allocations: 394.8 kB / 1.036 GB, free: 28 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001965/0.3793, allocations: 0.6304 MB / 1.037 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002267/0.3816, allocations: 1.003 MB / 1.038 GB, free: 14.22 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002272/0.3839, allocations: 0.8179 MB / 1.038 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.58e-05/0.384, allocations: 4 kB / 1.038 GB, free: 13.4 MB / 0.6667 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01672/0.4007, allocations: 3.205 MB / 1.041 GB, free: 10.17 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004662/0.4012, allocations: 429.6 kB / 1.042 GB, free: 9.594 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.637e-05/0.4013, allocations: 12 kB / 1.042 GB, free: 9.582 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01471/0.416, allocations: 1.856 MB / 1.044 GB, free: 7.711 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001651/0.4177, allocations: 227.6 kB / 1.044 GB, free: 7.488 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02472/0.4424, allocations: 10.22 MB / 1.054 GB, free: 12.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002124/0.4446, allocations: 179.6 kB / 1.054 GB, free: 12.56 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001599/0.4448, allocations: 39.98 kB / 1.054 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.4448, allocations: 4 kB / 1.054 GB, free: 12.52 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.013/0.4578, allocations: 2.626 MB / 1.057 GB, free: 9.879 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.355e-05/0.4579, allocations: 12 kB / 1.057 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009728/0.4677, allocations: 1.199 MB / 1.058 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/0.4696, allocations: 251.5 kB / 1.058 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01324/0.4828, allocations: 5.539 MB / 1.063 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001887/0.4848, allocations: 147.7 kB / 1.064 GB, free: 2.461 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.4849, allocations: 44.22 kB / 1.064 GB, free: 2.418 MB / 0.6823 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.001917/0.4868, allocations: 0.8479 MB / 1.065 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002739/0.4871, allocations: 79.05 kB / 1.065 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.6472/1.134, allocations: 2.676 MB / 1.067 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-05/1.134, allocations: 5.625 kB / 1.067 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.702e-05/1.134, allocations: 2.625 kB / 1.067 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.352e-05/1.134, allocations: 6.969 kB / 1.067 GB, free: 83.16 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01943/1.154, allocations: 4.622 MB / 1.072 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.018e-05/1.154, allocations: 3.469 kB / 1.072 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008189/1.155, allocations: 107.2 kB / 1.072 GB, free: 82.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01347/1.168, allocations: 1.704 MB / 1.073 GB, free: 82.29 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001717/1.169, allocations: 12.72 kB / 1.074 GB, free: 82.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02098/1.19, allocations: 9.765 MB / 1.083 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.612e-06/1.19, allocations: 6.156 kB / 1.083 GB, free: 75.55 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01434/1.204, allocations: 2.636 MB / 1.086 GB, free: 74.82 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008209/1.205, allocations: 279.7 kB / 1.086 GB, free: 74.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002007/1.205, allocations: 12.88 kB / 1.086 GB, free: 74.66 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001535/1.207, allocations: 139.5 kB / 1.086 GB, free: 74.65 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003452/1.207, allocations: 48.97 kB / 1.086 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-05/1.207, allocations: 18.28 kB / 1.086 GB, free: 74.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001348/1.208, allocations: 0.634 MB / 1.087 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/1.208, allocations: 2.344 kB / 1.087 GB, free: 74.38 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003073/1.211, allocations: 0.5837 MB / 1.087 GB, free: 74.34 MB / 0.6823 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.01508/1.227, allocations: 3.242 MB / 1.09 GB, free: 73.07 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.008463/1.235, allocations: 3.243 MB / 1.094 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.235, allocations: 1.75 kB / 1.094 GB, free: 71.57 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00317/1.238, allocations: 1.273 MB / 1.095 GB, free: 70.87 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001852/1.24, allocations: 220.7 kB / 1.095 GB, free: 70.81 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03052/1.271, allocations: 9.819 MB / 1.105 GB, free: 66.17 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001862/1.273, allocations: 1.622 MB / 1.106 GB, free: 65.01 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002218/1.275, allocations: 492.9 kB / 1.107 GB, free: 64.81 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008617/1.276, allocations: 489.7 kB / 1.107 GB, free: 64.38 MB / 0.6823 GB Notification: Performance of SimCode: time 1.42e-05/1.276, allocations: 7.938 kB / 1.107 GB, free: 64.37 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.113/1.389, allocations: 34.39 MB / 1.141 GB, free: 38.42 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003069/1.389, allocations: 251.5 kB / 1.141 GB, free: 38.08 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.55/4.94, allocations: 0 / 1.141 GB, free: 38.08 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid.pipe 2>&1)