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.843/2.843, allocations: 287.3 MB / 302.3 MB, free: 8.254 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.001614/0.001613, allocations: 194.7 kB / 370.8 MB, free: 10.87 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.341/2.341, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001176/0.001176, allocations: 86.03 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006452/0.0006455, allocations: 12.31 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2438, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.02191/0.2658, allocations: 15.18 MB / 0.9931 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01153/0.2773, allocations: 5.755 MB / 0.9987 GB, free: 7.309 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/0.2788, allocations: 35.88 kB / 0.9988 GB, free: 7.273 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00143/0.2802, allocations: 342 kB / 0.9991 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003056/0.2833, allocations: 0.6152 MB / 0.9997 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.002762/0.2861, allocations: 0.6452 MB / 1 GB, free: 5.676 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003309/0.2895, allocations: 1.766 MB / 1.002 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01236/0.3019, allocations: 5.909 MB / 1.008 GB, free: 13.94 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.3046, allocations: 1.067 MB / 1.009 GB, free: 12.87 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003268/0.3079, allocations: 1.238 MB / 1.01 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0009936/0.3089, allocations: 192 kB / 1.01 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.3114, allocations: 0.5736 MB / 1.011 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002669/0.3141, allocations: 1.326 MB / 1.012 GB, free: 9.539 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001409/0.3156, allocations: 0.5511 MB / 1.013 GB, free: 8.98 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.008874/0.3245, allocations: 5.353 MB / 1.018 GB, free: 3.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3246, allocations: 4 kB / 1.018 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.02e-06/0.3246, allocations: 4 kB / 1.018 GB, free: 3.605 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001842/0.3248, allocations: 0 / 1.018 GB, free: 3.605 MB / 0.6355 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.009419/0.3342, allocations: 2.426 MB / 1.02 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.3343, allocations: 8.031 kB / 1.02 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001856/0.3361, allocations: 458.1 kB / 1.021 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02133/0.3575, allocations: 2.08 MB / 1.023 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005428/0.363, allocations: 1.592 MB / 1.024 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000342/0.3634, allocations: 221.9 kB / 1.025 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/0.3648, allocations: 284 kB / 1.025 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02215/0.3869, allocations: 5.722 MB / 1.03 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.635e-05/0.3871, allocations: 3.938 kB / 1.03 GB, free: 6.613 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006367/0.3877, allocations: 123.9 kB / 1.03 GB, free: 6.492 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006105/0.3884, allocations: 204.9 kB / 1.031 GB, free: 6.289 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/0.414, allocations: 5.791 MB / 1.036 GB, free: 492 kB / 0.6511 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.04801/0.462, allocations: 23.02 MB / 1.059 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01104/0.4731, allocations: 2.647 MB / 1.061 GB, free: 4.637 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003757/0.4736, allocations: 114.1 kB / 1.062 GB, free: 4.508 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.344e-05/0.4737, allocations: 59.48 kB / 1.062 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=116): time 4.588e-06/0.4737, allocations: 0 / 1.062 GB, free: 4.441 MB / 0.6823 GB Notification: Performance of matching and sorting (n=116): time 0.6551/1.129, allocations: 5.187 MB / 1.067 GB, free: 83.12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.492e-05/1.129, allocations: 225 kB / 1.067 GB, free: 82.87 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002778/1.132, allocations: 1.043 MB / 1.068 GB, free: 82.74 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003933/1.132, allocations: 49.77 kB / 1.068 GB, free: 82.71 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001101/1.133, allocations: 1.232 MB / 1.069 GB, free: 82.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008539/1.134, allocations: 420.6 kB / 1.07 GB, free: 81.77 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002961/1.135, allocations: 36.31 kB / 1.07 GB, free: 81.74 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0003117/1.135, allocations: 417.5 kB / 1.07 GB, free: 81.38 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008671/1.144, allocations: 1.631 MB / 1.072 GB, free: 80.97 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009511/1.153, allocations: 2.301 MB / 1.074 GB, free: 79.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009218/1.162, allocations: 1.916 MB / 1.076 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-05/1.162, allocations: 5.906 kB / 1.076 GB, free: 79.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.02211/1.185, allocations: 4.398 MB / 1.08 GB, free: 77.81 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001975/1.187, allocations: 8.616 MB / 1.088 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001183/1.187, allocations: 23.67 kB / 1.088 GB, free: 68.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002685/1.189, allocations: 452.7 kB / 1.089 GB, free: 68.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006654/1.196, allocations: 0.7579 MB / 1.09 GB, free: 68.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01161/1.208, allocations: 6.538 MB / 1.096 GB, free: 63.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005986/1.214, allocations: 0.5835 MB / 1.097 GB, free: 63.37 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005821/1.215, allocations: 107.8 kB / 1.097 GB, free: 63.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.215, allocations: 5.594 kB / 1.097 GB, free: 63.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01998/1.235, allocations: 4.242 MB / 1.101 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/1.235, allocations: 21.84 kB / 1.101 GB, free: 62.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001562/1.236, allocations: 350 kB / 1.101 GB, free: 61.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006516/1.243, allocations: 0.7509 MB / 1.102 GB, free: 61.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008947/1.252, allocations: 6.363 MB / 1.108 GB, free: 57.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005238/1.257, allocations: 0.519 MB / 1.109 GB, free: 56.97 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000467/1.258, allocations: 109.2 kB / 1.109 GB, free: 56.95 MB / 0.6823 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 (223): * Single equations (assignments): 220 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003033/1.261, allocations: 1.244 MB / 1.11 GB, free: 56.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005736/1.261, allocations: 105.7 kB / 1.11 GB, free: 56.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01767/1.279, allocations: 3.623 MB / 1.114 GB, free: 54.93 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.205e-05/1.279, allocations: 12.44 kB / 1.114 GB, free: 54.93 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/1.279, allocations: 9.484 kB / 1.114 GB, free: 54.93 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.798e-05/1.279, allocations: 10.09 kB / 1.114 GB, free: 54.92 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0261/1.305, allocations: 6.971 MB / 1.12 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.657e-05/1.305, allocations: 5.344 kB / 1.12 GB, free: 50.71 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004856/1.31, allocations: 0.5132 MB / 1.121 GB, free: 50.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/1.312, allocations: 354.1 kB / 1.121 GB, free: 50.32 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003201/1.312, allocations: 45.64 kB / 1.121 GB, free: 50.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009698/1.322, allocations: 6.423 MB / 1.128 GB, free: 44.83 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.358e-06/1.322, allocations: 10.14 kB / 1.128 GB, free: 44.83 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01657/1.339, allocations: 3.852 MB / 1.131 GB, free: 42.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001446/1.34, allocations: 480.8 kB / 1.132 GB, free: 41.97 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004963/1.341, allocations: 31.39 kB / 1.132 GB, free: 41.95 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004679/1.345, allocations: 386.6 kB / 1.132 GB, free: 41.77 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004288/1.346, allocations: 98.02 kB / 1.132 GB, free: 41.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002187/1.346, allocations: 48.88 kB / 1.132 GB, free: 41.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00148/1.348, allocations: 0.7404 MB / 1.133 GB, free: 41.29 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.12e-07/1.348, allocations: 0 / 1.133 GB, free: 41.29 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006065/1.354, allocations: 1.425 MB / 1.134 GB, free: 40.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (92): * Single equations (assignments): 89 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(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.01634/1.37, allocations: 5.887 MB / 1.14 GB, free: 36.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.02658/1.397, allocations: 6.517 MB / 1.147 GB, free: 29.73 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/1.397, allocations: 0 / 1.147 GB, free: 29.73 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.008824/1.406, allocations: 2.064 MB / 1.149 GB, free: 27.63 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/1.407, allocations: 150.9 kB / 1.149 GB, free: 27.49 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07107/1.478, allocations: 31.05 MB / 1.179 GB, free: 11.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006509/1.485, allocations: 2.238 MB / 1.181 GB, free: 9.43 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.01046/1.495, allocations: 1.236 MB / 1.182 GB, free: 8.195 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003588/1.499, allocations: 0.8312 MB / 1.183 GB, free: 7.363 MB / 0.698 GB Notification: Performance of SimCode: time 2.374e-06/1.499, allocations: 0 / 1.183 GB, free: 7.363 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1165/1.616, allocations: 39.15 MB / 1.221 GB, free: 484 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003916/1.616, allocations: 251.5 kB / 1.222 GB, free: 220 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.56/5.176, allocations: 2.969 kB / 1.222 GB, free: 220 kB / 0.7292 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)