Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.62/2.62, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001647/0.001647, allocations: 169.8 kB / 370.8 MB, free: 10.89 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.38/2.38, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001147/0.001147, allocations: 96.83 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005154, allocations: 17.05 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.2223, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9902/1.213, allocations: 187.8 MB / 1.162 GB, free: 11.75 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004067/1.213, allocations: 100.7 kB / 1.162 GB, free: 11.69 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.4315/1.644, allocations: 105.2 MB / 1.265 GB, free: 14.02 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.727e-06/1.645, allocations: 4 kB / 1.265 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001517/1.645, allocations: 56 kB / 1.265 GB, free: 13.96 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: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.01097/1.656, allocations: 2.435 MB / 1.267 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/1.656, allocations: 8.031 kB / 1.267 GB, free: 11.46 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002307/1.658, allocations: 462.1 kB / 1.267 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0211/1.679, allocations: 1.896 MB / 1.269 GB, free: 9.09 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006308/1.686, allocations: 1.679 MB / 1.271 GB, free: 7.367 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003505/1.686, allocations: 225.9 kB / 1.271 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001771/1.688, allocations: 284 kB / 1.271 GB, free: 6.867 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02268/1.711, allocations: 5.321 MB / 1.277 GB, free: 1.449 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001316/1.711, allocations: 4 kB / 1.277 GB, free: 1.445 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001305/1.712, allocations: 123.9 kB / 1.277 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005816/1.713, allocations: 196.8 kB / 1.277 GB, free: 1.129 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02537/1.738, allocations: 5.371 MB / 1.282 GB, free: 11.75 MB / 0.8073 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.04841/1.786, allocations: 22.74 MB / 1.304 GB, free: 2.945 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01085/1.797, allocations: 2.513 MB / 1.307 GB, free: 324 kB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000382/1.798, allocations: 118.1 kB / 1.307 GB, free: 188 kB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.777e-05/1.798, allocations: 55.48 kB / 1.307 GB, free: 124 kB / 0.823 GB Notification: Performance of pre-optimization done (n=116): time 4.579e-06/1.798, allocations: 0 / 1.307 GB, free: 124 kB / 0.823 GB Notification: Performance of matching and sorting (n=146): time 0.07312/1.871, allocations: 11.55 MB / 1.318 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/1.871, allocations: 234.9 kB / 1.318 GB, free: 4.238 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/1.874, allocations: 0.9408 MB / 1.319 GB, free: 3.285 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 0.0005175/1.874, allocations: 45.7 kB / 1.319 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.001356/1.876, allocations: 1.243 MB / 1.321 GB, free: 1.973 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.001162/1.877, allocations: 0.5007 MB / 1.321 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000517/1.877, allocations: 44 kB / 1.321 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004057/1.878, allocations: 427 kB / 1.322 GB, free: 0.9961 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009168/1.887, allocations: 1.76 MB / 1.323 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009559/1.897, allocations: 2.443 MB / 1.326 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009504/1.906, allocations: 2.067 MB / 1.328 GB, free: 10.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-05/1.906, allocations: 8 kB / 1.328 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.02361/1.93, allocations: 4.997 MB / 1.333 GB, free: 5.363 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.003744/1.934, allocations: 8.614 MB / 1.341 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.331e-05/1.934, allocations: 20 kB / 1.341 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003899/1.938, allocations: 0.7503 MB / 1.342 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006807/1.944, allocations: 0.7565 MB / 1.343 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02164/1.966, allocations: 12.81 MB / 1.355 GB, free: 12.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005996/1.972, allocations: 471 kB / 1.355 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006359/1.973, allocations: 119.9 kB / 1.356 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/1.973, allocations: 4 kB / 1.356 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02537/1.998, allocations: 4.848 MB / 1.36 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001351/1.999, allocations: 20 kB / 1.36 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005084/2.004, allocations: 0.7003 MB / 1.361 GB, free: 6.738 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007024/2.011, allocations: 0.7682 MB / 1.362 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0206/2.031, allocations: 12.69 MB / 1.374 GB, free: 8.473 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005747/2.037, allocations: 455.1 kB / 1.375 GB, free: 8.027 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006636/2.038, allocations: 112 kB / 1.375 GB, free: 7.918 MB / 0.9011 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 () * Number of clocked 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.003571/2.041, allocations: 1.285 MB / 1.376 GB, free: 6.621 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006312/2.042, allocations: 122.6 kB / 1.376 GB, free: 6.5 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02156/2.064, allocations: 4.347 MB / 1.38 GB, free: 2.098 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.442e-05/2.064, allocations: 16 kB / 1.38 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.59e-05/2.064, allocations: 11.98 kB / 1.38 GB, free: 2.07 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.07e-05/2.064, allocations: 11.94 kB / 1.38 GB, free: 2.059 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03221/2.096, allocations: 7.936 MB / 1.388 GB, free: 9.953 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.911e-05/2.096, allocations: 4 kB / 1.388 GB, free: 9.949 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005166/2.101, allocations: 0.5229 MB / 1.389 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003299/2.105, allocations: 0.6498 MB / 1.389 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004401/2.105, allocations: 47.95 kB / 1.389 GB, free: 8.711 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0209/2.126, allocations: 12.34 MB / 1.401 GB, free: 11.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/2.126, allocations: 8 kB / 1.401 GB, free: 11.56 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02014/2.146, allocations: 4.5 MB / 1.406 GB, free: 6.781 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001677/2.148, allocations: 487.4 kB / 1.406 GB, free: 6.285 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004164/2.148, allocations: 51.86 kB / 1.406 GB, free: 6.234 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005112/2.154, allocations: 399.2 kB / 1.407 GB, free: 5.844 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005772/2.154, allocations: 124.7 kB / 1.407 GB, free: 5.723 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002502/2.154, allocations: 63.95 kB / 1.407 GB, free: 5.66 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001672/2.156, allocations: 0.7332 MB / 1.408 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5.21e-07/2.156, allocations: 0 / 1.408 GB, free: 4.93 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0106/2.167, allocations: 1.16 MB / 1.409 GB, free: 3.77 MB / 0.9323 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 (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.0317/2.199, allocations: 6.961 MB / 1.415 GB, free: 12.59 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.04111/2.24, allocations: 8.102 MB / 1.423 GB, free: 4.332 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.214e-05/2.24, allocations: 0 / 1.423 GB, free: 4.332 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.01168/2.251, allocations: 2.732 MB / 1.426 GB, free: 1.527 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001755/2.253, allocations: 145.8 kB / 1.426 GB, free: 1.391 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7355/2.989, allocations: 32.33 MB / 1.458 GB, free: 258.8 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005418/2.994, allocations: 2.336 MB / 1.46 GB, free: 258.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.008052/3.002, allocations: 1.237 MB / 1.461 GB, free: 258.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002614/3.005, allocations: 0.8509 MB / 1.462 GB, free: 258.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.152e-06/3.005, allocations: 0 / 1.462 GB, free: 258.1 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1203/3.125, allocations: 46.24 MB / 1.507 GB, free: 256.3 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002445/3.126, allocations: 243.9 kB / 1.507 GB, free: 256 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.842/6.968, allocations: 0 / 1.507 GB, free: 256 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)