Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.5 MB / 257 MB, free: 6.816 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001089, allocations: 175.3 kB / 316.3 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.494/1.494, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008359, allocations: 84.52 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.156e-05/2.158e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2254, allocations: 106.3 MB / 0.8853 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8093/1.035, allocations: 186.3 MB / 1.067 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002626/1.035, allocations: 95.25 kB / 1.067 GB, free: 1.809 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.304/1.339, allocations: 120.2 MB / 1.185 GB, free: 2.371 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.453e-06/1.339, allocations: 3.938 kB / 1.185 GB, free: 2.367 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001035/1.339, allocations: 60 kB / 1.185 GB, free: 2.309 MB / 0.7917 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.00631/1.345, allocations: 2.428 MB / 1.187 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/1.346, allocations: 8.031 kB / 1.187 GB, free: 15.81 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01238/1.358, allocations: 2.052 MB / 1.189 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004982/1.363, allocations: 1.794 MB / 1.191 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/1.363, allocations: 92 kB / 1.191 GB, free: 11.83 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001268/1.364, allocations: 172 kB / 1.191 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009018/1.373, allocations: 4.092 MB / 1.195 GB, free: 7.562 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01162/1.385, allocations: 4.531 MB / 1.2 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.5e-05/1.385, allocations: 0 / 1.2 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003555/1.386, allocations: 4 kB / 1.2 GB, free: 2.961 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005641/1.386, allocations: 250 kB / 1.2 GB, free: 2.715 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02829/1.414, allocations: 21.78 MB / 1.221 GB, free: 10.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002805/1.417, allocations: 2.022 MB / 1.223 GB, free: 8.895 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001662/1.419, allocations: 1.199 MB / 1.224 GB, free: 7.695 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/1.419, allocations: 118.4 kB / 1.224 GB, free: 7.559 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.094e-05/1.419, allocations: 47.88 kB / 1.224 GB, free: 7.504 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=122): time 3.747e-06/1.419, allocations: 4 kB / 1.224 GB, free: 7.5 MB / 0.8386 GB Notification: Performance of matching and sorting (n=173): time 0.01613/1.435, allocations: 6.981 MB / 1.231 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/1.436, allocations: 69.41 kB / 1.231 GB, free: 440 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001456/1.437, allocations: 0.9658 MB / 1.232 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002078/1.437, allocations: 29.7 kB / 1.232 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007447/1.438, allocations: 1.259 MB / 1.234 GB, free: 14.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000553/1.439, allocations: 0.5736 MB / 1.234 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001578/1.439, allocations: 0 / 1.234 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002205/1.439, allocations: 443.5 kB / 1.235 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002/1.441, allocations: 1.481 MB / 1.236 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002502/1.443, allocations: 2.177 MB / 1.238 GB, free: 9.125 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003685/1.447, allocations: 2.129 MB / 1.24 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/1.447, allocations: 8 kB / 1.24 GB, free: 6.984 MB / 0.8542 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009918/1.457, allocations: 5.256 MB / 1.245 GB, free: 1.695 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003176/1.46, allocations: 8.877 MB / 1.254 GB, free: 8.121 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.747e-05/1.46, allocations: 27.95 kB / 1.254 GB, free: 8.094 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004237/1.465, allocations: 1.371 MB / 1.255 GB, free: 6.703 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003631/1.468, allocations: 0.7721 MB / 1.256 GB, free: 5.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.552/2.02, allocations: 16.71 MB / 1.272 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003926/2.024, allocations: 451 kB / 1.273 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004038/2.025, allocations: 121.2 kB / 1.273 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/2.025, allocations: 3.562 kB / 1.273 GB, free: 243.1 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0105/2.035, allocations: 4.965 MB / 1.278 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-05/2.035, allocations: 24.72 kB / 1.278 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003702/2.039, allocations: 1.311 MB / 1.279 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004027/2.043, allocations: 0.7635 MB / 1.28 GB, free: 242.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/2.061, allocations: 16.09 MB / 1.296 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/2.065, allocations: 427.9 kB / 1.296 GB, free: 235.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003663/2.066, allocations: 122.1 kB / 1.296 GB, free: 235.7 MB / 0.8698 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 () * 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 {(2,100.0%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006758/2.066, allocations: 179.8 kB / 1.296 GB, free: 235.6 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008266/2.075, allocations: 4.12 MB / 1.3 GB, free: 235.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004324/2.075, allocations: 139 kB / 1.3 GB, free: 235.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009141/2.084, allocations: 4.777 MB / 1.305 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-05/2.084, allocations: 16.22 kB / 1.305 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.16e-05/2.084, allocations: 11.25 kB / 1.305 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/2.084, allocations: 7.828 kB / 1.305 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/2.1, allocations: 8.052 MB / 1.313 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-05/2.1, allocations: 7.875 kB / 1.313 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002367/2.103, allocations: 0.5184 MB / 1.313 GB, free: 233.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003049/2.106, allocations: 1.171 MB / 1.315 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001488/2.106, allocations: 28.95 kB / 1.315 GB, free: 233.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01484/2.121, allocations: 15.88 MB / 1.33 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.013e-05/2.121, allocations: 9.969 kB / 1.33 GB, free: 222.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006934/2.128, allocations: 4.404 MB / 1.334 GB, free: 220.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/2.129, allocations: 0.5466 MB / 1.335 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/2.129, allocations: 10.94 kB / 1.335 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002518/2.132, allocations: 414.8 kB / 1.335 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003551/2.132, allocations: 155.9 kB / 1.336 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001342/2.132, allocations: 63.02 kB / 1.336 GB, free: 219.9 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0009065/2.133, allocations: 0.7422 MB / 1.336 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/2.133, allocations: 3.094 kB / 1.336 GB, free: 219.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004523/2.138, allocations: 1.193 MB / 1.338 GB, free: 219.6 MB / 0.8698 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 () * 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,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007046/2.145, allocations: 6.842 MB / 1.344 GB, free: 215.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01223/2.157, allocations: 7.665 MB / 1.352 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/2.157, allocations: 3.719 kB / 1.352 GB, free: 211.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.004198/2.161, allocations: 2.704 MB / 1.354 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001259/2.163, allocations: 169.5 kB / 1.354 GB, free: 210.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/2.18, allocations: 6.973 MB / 1.361 GB, free: 208 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002293/2.183, allocations: 2.421 MB / 1.364 GB, free: 206.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003947/2.187, allocations: 1.29 MB / 1.365 GB, free: 206.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00116/2.188, allocations: 0.9107 MB / 1.366 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of SimCode: time 8.61e-07/2.188, allocations: 0 / 1.366 GB, free: 206.1 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0839/2.272, allocations: 60.03 MB / 1.424 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001483/2.272, allocations: 185.9 kB / 1.425 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.428/5.7, allocations: 0 / 1.425 GB, free: 172.4 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1)