Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.691/1.691, allocations: 288.4 MB / 303.3 MB, free: 8.172 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.001051/0.001051, allocations: 179.1 kB / 372 MB, free: 10.29 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.624/1.624, allocations: 205.4 MB / 0.6307 GB, free: 9.988 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.0007609/0.0007608, allocations: 92.73 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005302/0.0005303, allocations: 11.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2569/0.2574, allocations: 115.3 MB / 0.9797 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01327/0.2708, allocations: 15.51 MB / 0.9948 GB, free: 12.02 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.008021/0.2788, allocations: 5.794 MB / 1 GB, free: 6.207 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001108/0.28, allocations: 39.88 kB / 1 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0007213/0.2807, allocations: 305.8 kB / 1.001 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001905/0.2826, allocations: 0.8171 MB / 1.002 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001653/0.2843, allocations: 0.5946 MB / 1.002 GB, free: 4.453 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003738/0.2881, allocations: 4.903 MB / 1.007 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008927/0.297, allocations: 5.934 MB / 1.013 GB, free: 9.547 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.2996, allocations: 1.308 MB / 1.014 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003801/0.3034, allocations: 1.897 MB / 1.016 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0007642/0.3042, allocations: 188 kB / 1.016 GB, free: 6.148 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002053/0.3063, allocations: 0.6009 MB / 1.017 GB, free: 5.547 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.001718/0.308, allocations: 1.442 MB / 1.018 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007807/0.3088, allocations: 0.5512 MB / 1.019 GB, free: 3.543 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006604/0.3154, allocations: 5.365 MB / 1.024 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.064e-06/0.3154, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.006e-06/0.3154, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002056/0.3157, allocations: 0 / 1.024 GB, free: 14.16 MB / 0.6511 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.005565/0.3212, allocations: 2.428 MB / 1.026 GB, free: 11.68 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.3213, allocations: 8.031 kB / 1.026 GB, free: 11.67 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008598/0.3222, allocations: 458.1 kB / 1.027 GB, free: 11.21 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.3325, allocations: 2.013 MB / 1.029 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003736/0.3363, allocations: 1.592 MB / 1.03 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002017/0.3365, allocations: 221.9 kB / 1.03 GB, free: 7.332 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007259/0.3373, allocations: 288 kB / 1.031 GB, free: 7.051 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.3509, allocations: 5.742 MB / 1.036 GB, free: 1.215 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.035e-05/0.351, allocations: 4 kB / 1.036 GB, free: 1.211 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003726/0.3513, allocations: 123.9 kB / 1.036 GB, free: 1.09 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003643/0.3517, allocations: 200.9 kB / 1.037 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01445/0.3662, allocations: 5.803 MB / 1.042 GB, free: 11.07 MB / 0.6667 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.03378/0.4, allocations: 22.84 MB / 1.065 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.5436/0.9436, allocations: 2.504 MB / 1.067 GB, free: 82.63 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008344/0.952, allocations: 1.632 MB / 1.069 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002971/0.9523, allocations: 111 kB / 1.069 GB, free: 82.48 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.949e-05/0.9524, allocations: 52.8 kB / 1.069 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=116): time 5.05e-06/0.9524, allocations: 2.281 kB / 1.069 GB, free: 82.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146): time 0.04391/0.9963, allocations: 11.59 MB / 1.08 GB, free: 79.19 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/0.9965, allocations: 228.5 kB / 1.08 GB, free: 78.94 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/0.9984, allocations: 1.042 MB / 1.081 GB, free: 78.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002818/0.9987, allocations: 51.48 kB / 1.081 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007941/0.9995, allocations: 1.236 MB / 1.083 GB, free: 77.51 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005531/1, allocations: 0.5037 MB / 1.083 GB, free: 77.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001565/1, allocations: 44.69 kB / 1.083 GB, free: 77.09 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002203/1, allocations: 426.7 kB / 1.083 GB, free: 76.73 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004953/1.005, allocations: 1.766 MB / 1.085 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005634/1.011, allocations: 2.456 MB / 1.088 GB, free: 74.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005524/1.017, allocations: 2.088 MB / 1.09 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.09e-05/1.017, allocations: 6.312 kB / 1.09 GB, free: 74.16 MB / 0.6823 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01335/1.03, allocations: 5.061 MB / 1.095 GB, free: 72.52 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004313/1.03, allocations: 0.729 MB / 1.095 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.129e-05/1.031, allocations: 21.75 kB / 1.095 GB, free: 71.54 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002896/1.033, allocations: 0.8889 MB / 1.096 GB, free: 71.29 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003103/1.037, allocations: 0.76 MB / 1.097 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/1.048, allocations: 12.79 MB / 1.109 GB, free: 60.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/1.052, allocations: 460 kB / 1.11 GB, free: 60.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003516/1.052, allocations: 122.6 kB / 1.11 GB, free: 59.99 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/1.052, allocations: 7.688 kB / 1.11 GB, free: 59.99 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01242/1.065, allocations: 4.892 MB / 1.115 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.862e-05/1.065, allocations: 22.12 kB / 1.115 GB, free: 57.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002242/1.067, allocations: 0.7631 MB / 1.116 GB, free: 57 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003577/1.071, allocations: 0.753 MB / 1.116 GB, free: 56.75 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01211/1.083, allocations: 12.65 MB / 1.129 GB, free: 45.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003425/1.086, allocations: 452.3 kB / 1.129 GB, free: 45.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/1.087, allocations: 111.9 kB / 1.129 GB, free: 45.51 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 (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.003205/1.09, allocations: 1.292 MB / 1.13 GB, free: 44.66 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00101/1.091, allocations: 120.6 kB / 1.131 GB, free: 44.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01043/1.101, allocations: 4.374 MB / 1.135 GB, free: 42.06 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.196e-05/1.102, allocations: 23.48 kB / 1.135 GB, free: 42.05 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/1.102, allocations: 7.75 kB / 1.135 GB, free: 42.05 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.502e-05/1.102, allocations: 12.34 kB / 1.135 GB, free: 42.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01481/1.116, allocations: 8.229 MB / 1.143 GB, free: 33.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.511e-05/1.116, allocations: 11.95 kB / 1.143 GB, free: 33.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002214/1.119, allocations: 0.5147 MB / 1.143 GB, free: 33.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002048/1.121, allocations: 0.7158 MB / 1.144 GB, free: 32.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.121, allocations: 55.95 kB / 1.144 GB, free: 32.32 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/1.131, allocations: 12.28 MB / 1.156 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/1.131, allocations: 11.94 kB / 1.156 GB, free: 19.27 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009469/1.141, allocations: 4.213 MB / 1.16 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009588/1.142, allocations: 491.4 kB / 1.161 GB, free: 14.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001966/1.142, allocations: 31.98 kB / 1.161 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002276/1.144, allocations: 397.1 kB / 1.161 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/1.145, allocations: 126.3 kB / 1.161 GB, free: 13.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001232/1.145, allocations: 55.95 kB / 1.161 GB, free: 13.84 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009335/1.146, allocations: 0.741 MB / 1.162 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.146, allocations: 0 / 1.162 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004471/1.15, allocations: 1.119 MB / 1.163 GB, free: 11.99 MB / 0.6823 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.009359/1.16, allocations: 4.816 MB / 1.168 GB, free: 7.051 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0166/1.176, allocations: 8.021 MB / 1.176 GB, free: 14.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/1.176, allocations: 3.938 kB / 1.176 GB, free: 14.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.006216/1.182, allocations: 2.71 MB / 1.178 GB, free: 12.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001626/1.184, allocations: 181.7 kB / 1.179 GB, free: 11.92 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04376/1.228, allocations: 17.62 MB / 1.196 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002413/1.23, allocations: 2.283 MB / 1.198 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004162/1.235, allocations: 1.233 MB / 1.199 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001405/1.236, allocations: 0.8507 MB / 1.2 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of SimCode: time 1.363e-06/1.236, allocations: 0 / 1.2 GB, free: 5.227 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07813/1.314, allocations: 47.48 MB / 1.246 GB, free: 6.023 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002005/1.314, allocations: 245.5 kB / 1.247 GB, free: 5.691 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.24/4.554, allocations: 3.938 kB / 1.247 GB, free: 5.688 MB / 0.7605 GB (rm -f Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_maint.8.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1)