Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",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 1.571/1.571, allocations: 287.4 MB / 302.6 MB, free: 8.203 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.0009565/0.0009561, allocations: 186.5 kB / 371.1 MB, free: 10.76 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.401/1.401, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007769/0.0007769, allocations: 103.6 kB / 0.7431 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000419/0.0004191, allocations: 12.34 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull): time 0.01362/0.2534, allocations: 15.86 MB / 0.9942 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00761/0.2611, allocations: 5.865 MB / 1 GB, free: 6.293 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008979/0.262, allocations: 39.88 kB / 1 GB, free: 6.254 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006366/0.2626, allocations: 313.7 kB / 1 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001743/0.2644, allocations: 0.8325 MB / 1.001 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.266, allocations: 0.6561 MB / 1.002 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004108/0.2702, allocations: 5.142 MB / 1.007 GB, free: 15.3 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/0.2803, allocations: 6.752 MB / 1.013 GB, free: 8.477 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002691/0.283, allocations: 1.362 MB / 1.015 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002748/0.2858, allocations: 1.963 MB / 1.017 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004185/0.2862, allocations: 192 kB / 1.017 GB, free: 4.953 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.2882, allocations: 0.6087 MB / 1.017 GB, free: 4.344 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001823/0.29, allocations: 1.462 MB / 1.019 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.000714/0.2907, allocations: 0.5706 MB / 1.019 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.005916/0.2967, allocations: 5.497 MB / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.244e-06/0.2967, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.364e-06/0.2967, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001252/0.2968, allocations: 0 / 1.025 GB, free: 12.79 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.005469/0.3023, allocations: 2.492 MB / 1.027 GB, free: 10.24 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.3024, allocations: 8.031 kB / 1.027 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006579/0.303, allocations: 458.4 kB / 1.028 GB, free: 9.77 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/0.314, allocations: 2.178 MB / 1.03 GB, free: 7.586 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.3176, allocations: 1.711 MB / 1.031 GB, free: 5.832 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001982/0.3178, allocations: 214.2 kB / 1.032 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008185/0.3186, allocations: 284.3 kB / 1.032 GB, free: 5.344 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01327/0.3319, allocations: 5.891 MB / 1.038 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/0.332, allocations: 7.906 kB / 1.038 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005528/0.3326, allocations: 119.9 kB / 1.038 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004803/0.3331, allocations: 258 kB / 1.038 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01532/0.3484, allocations: 6.085 MB / 1.044 GB, free: 8.902 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03369/0.3822, allocations: 22.52 MB / 1.066 GB, free: 424 kB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5137/0.8959, allocations: 2.529 MB / 1.068 GB, free: 83.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004849/0.9008, allocations: 1.7 MB / 1.07 GB, free: 83.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002074/0.901, allocations: 109.5 kB / 1.07 GB, free: 82.96 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.723e-05/0.9011, allocations: 48.67 kB / 1.07 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=122): time 3.837e-06/0.9011, allocations: 0 / 1.07 GB, free: 82.91 MB / 0.6823 GB Notification: Performance of matching and sorting (n=173): time 0.05232/0.9534, allocations: 14.58 MB / 1.084 GB, free: 79.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.9535, allocations: 70.64 kB / 1.085 GB, free: 79.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001946/0.9555, allocations: 1.149 MB / 1.086 GB, free: 79.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.9557, allocations: 51.77 kB / 1.086 GB, free: 79.01 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009117/0.9566, allocations: 1.27 MB / 1.087 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005796/0.9572, allocations: 0.5913 MB / 1.088 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.9574, allocations: 45.41 kB / 1.088 GB, free: 77.55 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000214/0.9576, allocations: 455.5 kB / 1.088 GB, free: 77.18 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005071/0.9626, allocations: 2.006 MB / 1.09 GB, free: 76.58 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004909/0.9676, allocations: 2.728 MB / 1.093 GB, free: 75.07 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01005/0.9777, allocations: 4.8 MB / 1.097 GB, free: 72.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-05/0.9777, allocations: 6.438 kB / 1.097 GB, free: 72.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01716/0.9949, allocations: 6.23 MB / 1.103 GB, free: 69.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000654/0.9956, allocations: 0.7569 MB / 1.104 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.645e-05/0.9957, allocations: 22.97 kB / 1.104 GB, free: 68.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005259/1.001, allocations: 1.525 MB / 1.106 GB, free: 67.86 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0036/1.005, allocations: 0.7628 MB / 1.106 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02062/1.025, allocations: 17.4 MB / 1.123 GB, free: 53.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003501/1.029, allocations: 496.9 kB / 1.124 GB, free: 53.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005151/1.029, allocations: 118.8 kB / 1.124 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/1.029, allocations: 6.375 kB / 1.124 GB, free: 53.5 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01344/1.043, allocations: 6.047 MB / 1.13 GB, free: 48.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.228e-05/1.043, allocations: 24 kB / 1.13 GB, free: 48.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003798/1.047, allocations: 1.449 MB / 1.131 GB, free: 46.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003059/1.05, allocations: 0.7604 MB / 1.132 GB, free: 46.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01797/1.068, allocations: 17.2 MB / 1.149 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/1.071, allocations: 467.2 kB / 1.149 GB, free: 27.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000454/1.072, allocations: 120 kB / 1.149 GB, free: 27.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * 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 (235): * Single equations (assignments): 229 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002445/1.074, allocations: 1.328 MB / 1.151 GB, free: 26.26 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004527/1.074, allocations: 142.4 kB / 1.151 GB, free: 26.12 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01259/1.087, allocations: 5.805 MB / 1.157 GB, free: 20.26 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/1.087, allocations: 16 kB / 1.157 GB, free: 20.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.371e-05/1.087, allocations: 12 kB / 1.157 GB, free: 20.23 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.787e-05/1.087, allocations: 7.969 kB / 1.157 GB, free: 20.23 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01717/1.104, allocations: 9.603 MB / 1.166 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.234e-05/1.104, allocations: 4 kB / 1.166 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002205/1.107, allocations: 0.5218 MB / 1.166 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003554/1.11, allocations: 1.277 MB / 1.168 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000158/1.11, allocations: 47.97 kB / 1.168 GB, free: 8.566 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01925/1.13, allocations: 16.6 MB / 1.184 GB, free: 7.168 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.246e-05/1.13, allocations: 8 kB / 1.184 GB, free: 7.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01273/1.142, allocations: 5.045 MB / 1.189 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/1.144, allocations: 0.5499 MB / 1.189 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004442/1.144, allocations: 35.94 kB / 1.189 GB, free: 1.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002767/1.147, allocations: 439.3 kB / 1.19 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004574/1.147, allocations: 152.9 kB / 1.19 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001735/1.148, allocations: 67.95 kB / 1.19 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001594/1.149, allocations: 0.809 MB / 1.191 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3e-07/1.149, allocations: 0 / 1.191 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.005667/1.155, allocations: 1.266 MB / 1.192 GB, free: 14.66 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (104): * Single equations (assignments): 98 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(3,100.0%) 9,(3,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01327/1.168, allocations: 5.66 MB / 1.198 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.02292/1.191, allocations: 9.477 MB / 1.207 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/1.191, allocations: 0 / 1.207 GB, free: 15.26 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.007854/1.199, allocations: 3.281 MB / 1.21 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002801/1.202, allocations: 227.9 kB / 1.21 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05391/1.256, allocations: 20.23 MB / 1.23 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003993/1.26, allocations: 2.375 MB / 1.232 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.004685/1.265, allocations: 1.254 MB / 1.234 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001832/1.266, allocations: 0.9249 MB / 1.235 GB, free: 2.191 MB / 0.7448 GB Notification: Performance of SimCode: time 1.753e-06/1.266, allocations: 4 kB / 1.235 GB, free: 2.188 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1098/1.376, allocations: 61.56 MB / 1.295 GB, free: 5.031 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002917/1.377, allocations: 245.7 kB / 1.295 GB, free: 4.75 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.636/5.013, allocations: 3.234 kB / 1.295 GB, free: 4.75 MB / 0.8073 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)