Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.667/1.667, allocations: 289.9 MB / 297.4 MB, free: 6.383 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: 176.8 kB / 366.7 MB, free: 1.641 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.686/1.686, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0009999/0.0009996, allocations: 99 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.88e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7261/0.7262, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2408/0.967, allocations: 188.2 MB / 1.157 GB, free: 9.863 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.9674, allocations: 96.45 kB / 1.157 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2444/1.212, allocations: 104.3 MB / 1.259 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/1.212, allocations: 0 / 1.259 GB, free: 0.6445 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.687e-05/1.212, allocations: 56 kB / 1.259 GB, free: 0.5898 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.5845/1.796, allocations: 2.352 MB / 1.261 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.154e-05/1.797, allocations: 8.875 kB / 1.261 GB, free: 196.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01276/1.809, allocations: 1.906 MB / 1.263 GB, free: 196.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004728/1.814, allocations: 1.674 MB / 1.265 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001962/1.814, allocations: 97.66 kB / 1.265 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001296/1.816, allocations: 168.9 kB / 1.265 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009874/1.825, allocations: 3.937 MB / 1.269 GB, free: 196.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01211/1.838, allocations: 4.377 MB / 1.273 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.738e-05/1.838, allocations: 5.656 kB / 1.273 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003267/1.838, allocations: 1.969 kB / 1.273 GB, free: 195.8 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003888/1.838, allocations: 193.7 kB / 1.273 GB, free: 195.8 MB / 0.8542 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.03293/1.871, allocations: 22.1 MB / 1.295 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003547/1.875, allocations: 1.998 MB / 1.297 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002191/1.877, allocations: 1.134 MB / 1.298 GB, free: 183.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/1.877, allocations: 119.1 kB / 1.298 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.83e-05/1.878, allocations: 57.58 kB / 1.298 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=116): time 5.851e-06/1.878, allocations: 4.344 kB / 1.298 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=146): time 0.01783/1.895, allocations: 7.027 MB / 1.305 GB, free: 180.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.865e-05/1.896, allocations: 226.4 kB / 1.305 GB, free: 180.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/1.897, allocations: 0.8825 MB / 1.306 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003016/1.898, allocations: 27.08 kB / 1.306 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007561/1.898, allocations: 1.236 MB / 1.307 GB, free: 179.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005174/1.899, allocations: 495.6 kB / 1.308 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001393/1.899, allocations: 3.531 kB / 1.308 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002315/1.899, allocations: 426.6 kB / 1.308 GB, free: 178.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/1.901, allocations: 1.235 MB / 1.31 GB, free: 177.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/1.904, allocations: 1.911 MB / 1.311 GB, free: 176.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003849/1.907, allocations: 1.856 MB / 1.313 GB, free: 176 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.533e-05/1.907, allocations: 6.688 kB / 1.313 GB, free: 176 MB / 0.8542 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.008462/1.916, allocations: 4.124 MB / 1.317 GB, free: 174.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001601/1.918, allocations: 8.619 MB / 1.326 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.277e-05/1.918, allocations: 22.94 kB / 1.326 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002049/1.92, allocations: 0.7539 MB / 1.326 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00361/1.923, allocations: 0.7657 MB / 1.327 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01295/1.936, allocations: 12.26 MB / 1.339 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003614/1.94, allocations: 427.1 kB / 1.34 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006414/1.941, allocations: 116.1 kB / 1.34 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/1.941, allocations: 3.875 kB / 1.34 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00782/1.948, allocations: 3.859 MB / 1.343 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001281/1.949, allocations: 21.91 kB / 1.343 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/1.95, allocations: 0.6603 MB / 1.344 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003355/1.954, allocations: 0.7532 MB / 1.345 GB, free: 154.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009355/1.963, allocations: 11.77 MB / 1.356 GB, free: 145 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003481/1.966, allocations: 409.5 kB / 1.357 GB, free: 145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006741/1.967, allocations: 108.4 kB / 1.357 GB, free: 145 MB / 0.8542 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.001042/1.968, allocations: 168 kB / 1.357 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006039/1.974, allocations: 3.005 MB / 1.36 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005377/1.975, allocations: 123.9 kB / 1.36 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006368/1.981, allocations: 3.413 MB / 1.363 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.995e-05/1.981, allocations: 14.12 kB / 1.363 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.206e-05/1.981, allocations: 15.52 kB / 1.363 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.075e-05/1.981, allocations: 10.97 kB / 1.363 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01149/1.993, allocations: 6.702 MB / 1.37 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.993, allocations: 8.75 kB / 1.37 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.995, allocations: 0.5117 MB / 1.37 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00169/1.997, allocations: 0.6246 MB / 1.371 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/1.997, allocations: 30.34 kB / 1.371 GB, free: 139 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009464/2.007, allocations: 11.56 MB / 1.382 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/2.007, allocations: 11.09 kB / 1.382 GB, free: 129.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006191/2.013, allocations: 3.595 MB / 1.386 GB, free: 127.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/2.014, allocations: 482.8 kB / 1.386 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004519/2.015, allocations: 14.55 kB / 1.386 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002745/2.017, allocations: 380.6 kB / 1.387 GB, free: 127.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003632/2.018, allocations: 124.9 kB / 1.387 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000166/2.018, allocations: 62.17 kB / 1.387 GB, free: 127.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001061/2.019, allocations: 0.6744 MB / 1.388 GB, free: 127.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/2.019, allocations: 3.938 kB / 1.388 GB, free: 127 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005612/2.025, allocations: 1.039 MB / 1.389 GB, free: 127 MB / 0.8542 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.006393/2.031, allocations: 6.034 MB / 1.395 GB, free: 122.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01037/2.041, allocations: 6.297 MB / 1.401 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/2.041, allocations: 4.188 kB / 1.401 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003246/2.045, allocations: 2.136 MB / 1.403 GB, free: 118.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/2.046, allocations: 132.5 kB / 1.403 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02043/2.067, allocations: 6.473 MB / 1.409 GB, free: 116.2 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002758/2.069, allocations: 2.329 MB / 1.411 GB, free: 115.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004368/2.074, allocations: 1.267 MB / 1.413 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001414/2.075, allocations: 0.8392 MB / 1.414 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.092e-06/2.075, allocations: 0 / 1.414 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07537/2.151, allocations: 46.51 MB / 1.459 GB, free: 75.14 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002082/2.151, allocations: 172 kB / 1.459 GB, free: 74.94 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.116/5.267, allocations: 0 / 1.459 GB, free: 74.94 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)