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.Transformer.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.Transformer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",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.417/1.417, allocations: 249.5 MB / 257 MB, free: 6.875 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.00105/0.00105, allocations: 175.5 kB / 316.3 MB, free: 3.324 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.685/1.685, allocations: 205.3 MB / 0.5671 GB, free: 15.87 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.0009312/0.0009312, allocations: 97.91 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.094e-05/2.095e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1824, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7723/0.9548, allocations: 181.8 MB / 1.063 GB, free: 5.859 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/0.9552, allocations: 98.92 kB / 1.063 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2494/1.205, allocations: 104.3 MB / 1.165 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.674e-06/1.205, allocations: 0 / 1.165 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001474/1.205, allocations: 59.92 kB / 1.165 GB, free: 6.797 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.008203/1.213, allocations: 2.361 MB / 1.167 GB, free: 4.379 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/1.213, allocations: 12.03 kB / 1.167 GB, free: 4.367 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0116/1.225, allocations: 1.892 MB / 1.169 GB, free: 2.469 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004385/1.229, allocations: 1.685 MB / 1.171 GB, free: 0.7344 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/1.229, allocations: 92 kB / 1.171 GB, free: 0.6445 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001339/1.231, allocations: 168 kB / 1.171 GB, free: 492 kB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008737/1.239, allocations: 3.94 MB / 1.175 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01279/1.252, allocations: 4.373 MB / 1.179 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000101/1.252, allocations: 3.953 kB / 1.179 GB, free: 8.07 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001021/1.253, allocations: 4 kB / 1.179 GB, free: 8.066 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003641/1.254, allocations: 196.9 kB / 1.179 GB, free: 7.871 MB / 0.7917 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02957/1.283, allocations: 22.12 MB / 1.201 GB, free: 15.71 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003188/1.287, allocations: 1.988 MB / 1.203 GB, free: 13.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/1.288, allocations: 1.144 MB / 1.204 GB, free: 12.45 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002077/1.289, allocations: 110.4 kB / 1.204 GB, free: 12.32 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/1.289, allocations: 67.73 kB / 1.204 GB, free: 12.25 MB / 0.823 GB Notification: Performance of pre-optimization done (n=116): time 4.409e-06/1.289, allocations: 0 / 1.204 GB, free: 12.25 MB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.01764/1.306, allocations: 7.018 MB / 1.211 GB, free: 5.188 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/1.306, allocations: 226.9 kB / 1.211 GB, free: 4.918 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001783/1.308, allocations: 0.89 MB / 1.212 GB, free: 4.02 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005124/1.309, allocations: 29.73 kB / 1.212 GB, free: 3.984 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001136/1.31, allocations: 1.231 MB / 1.213 GB, free: 2.734 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009385/1.311, allocations: 496.7 kB / 1.214 GB, free: 2.242 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003301/1.311, allocations: 0 / 1.214 GB, free: 2.242 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0003638/1.312, allocations: 423 kB / 1.214 GB, free: 1.82 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/1.314, allocations: 1.238 MB / 1.215 GB, free: 0.5781 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002474/1.316, allocations: 1.918 MB / 1.217 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003672/1.32, allocations: 1.852 MB / 1.219 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-05/1.32, allocations: 4 kB / 1.219 GB, free: 12.49 MB / 0.8386 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.008888/1.329, allocations: 4.128 MB / 1.223 GB, free: 8.332 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002891/1.332, allocations: 8.61 MB / 1.232 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-05/1.332, allocations: 20 kB / 1.232 GB, free: 15.03 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/1.334, allocations: 0.7581 MB / 1.232 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003664/1.338, allocations: 0.7643 MB / 1.233 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01396/1.352, allocations: 12.25 MB / 1.245 GB, free: 0.5469 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003456/1.355, allocations: 438.8 kB / 1.245 GB, free: 120 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005668/1.356, allocations: 115.9 kB / 1.246 GB, free: 4 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/1.356, allocations: 4.188 kB / 1.246 GB, free: 16 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007948/1.364, allocations: 3.858 MB / 1.249 GB, free: 12.12 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.593e-05/1.364, allocations: 24 kB / 1.249 GB, free: 12.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/1.366, allocations: 0.6492 MB / 1.25 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003479/1.369, allocations: 0.7643 MB / 1.251 GB, free: 10.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4838/1.853, allocations: 11.75 MB / 1.262 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003308/1.856, allocations: 411.7 kB / 1.263 GB, free: 247.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003043/1.857, allocations: 114.3 kB / 1.263 GB, free: 247.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005082/1.857, allocations: 173.8 kB / 1.263 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006189/1.863, allocations: 2.998 MB / 1.266 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000439/1.864, allocations: 128.8 kB / 1.266 GB, free: 247.7 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007015/1.871, allocations: 3.415 MB / 1.269 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.453e-05/1.871, allocations: 15.47 kB / 1.269 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.871, allocations: 8.375 kB / 1.269 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.363e-05/1.871, allocations: 13.3 kB / 1.269 GB, free: 247.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01157/1.883, allocations: 6.698 MB / 1.276 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.883, allocations: 6.344 kB / 1.276 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002579/1.885, allocations: 0.5147 MB / 1.276 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001758/1.887, allocations: 0.6291 MB / 1.277 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000197/1.887, allocations: 28.73 kB / 1.277 GB, free: 246.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.898, allocations: 11.56 MB / 1.288 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.103e-05/1.898, allocations: 9.406 kB / 1.288 GB, free: 239.2 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006496/1.905, allocations: 3.593 MB / 1.292 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001003/1.906, allocations: 493.8 kB / 1.292 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/1.906, allocations: 10.22 kB / 1.292 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002708/1.909, allocations: 375.4 kB / 1.293 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003631/1.909, allocations: 129.4 kB / 1.293 GB, free: 238 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001679/1.909, allocations: 57.64 kB / 1.293 GB, free: 238 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001256/1.91, allocations: 0.6751 MB / 1.293 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.3e-07/1.911, allocations: 0 / 1.293 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005243/1.916, allocations: 1.044 MB / 1.294 GB, free: 237.9 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 (101): * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006217/1.922, allocations: 6.035 MB / 1.3 GB, free: 234.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01149/1.934, allocations: 6.307 MB / 1.306 GB, free: 233 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.312e-05/1.934, allocations: 4.516 kB / 1.306 GB, free: 233 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00385/1.937, allocations: 2.141 MB / 1.309 GB, free: 232.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/1.939, allocations: 130.2 kB / 1.309 GB, free: 232.3 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01771/1.957, allocations: 6.468 MB / 1.315 GB, free: 231.3 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002004/1.959, allocations: 2.323 MB / 1.317 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003886/1.963, allocations: 1.268 MB / 1.319 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/1.964, allocations: 0.8473 MB / 1.319 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/1.964, allocations: 0 / 1.319 GB, free: 230.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06866/2.033, allocations: 46.52 MB / 1.365 GB, free: 228.5 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/2.033, allocations: 184.1 kB / 1.365 GB, free: 228.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.884/4.917, allocations: 0 / 1.365 GB, free: 228.3 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)