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.431/1.431, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 183.1 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.151/2.151, allocations: 205.4 MB / 0.5775 GB, free: 20.51 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.0009021/0.0009023, allocations: 96.06 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003717/0.0003715, allocations: 9.688 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2595, allocations: 106.3 MB / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.799/1.059, allocations: 181.6 MB / 1.078 GB, free: 65.54 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/1.059, allocations: 99.89 kB / 1.078 GB, free: 65.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2457/1.305, allocations: 105.3 MB / 1.18 GB, free: 30.32 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.354e-06/1.305, allocations: 0 / 1.18 GB, free: 30.32 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001315/1.305, allocations: 58.8 kB / 1.18 GB, free: 30.32 MB / 0.698 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.008696/1.313, allocations: 2.429 MB / 1.183 GB, free: 28.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/1.314, allocations: 16.03 kB / 1.183 GB, free: 28.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001722/1.315, allocations: 454.9 kB / 1.183 GB, free: 28.31 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01089/1.326, allocations: 1.9 MB / 1.185 GB, free: 26.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004934/1.331, allocations: 1.687 MB / 1.187 GB, free: 25.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000161/1.331, allocations: 223.3 kB / 1.187 GB, free: 25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001035/1.332, allocations: 280.4 kB / 1.187 GB, free: 24.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01322/1.346, allocations: 5.32 MB / 1.192 GB, free: 21.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.736e-05/1.346, allocations: 3.984 kB / 1.192 GB, free: 21.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003725/1.346, allocations: 128.6 kB / 1.193 GB, free: 20.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002809/1.346, allocations: 196 kB / 1.193 GB, free: 20.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/1.36, allocations: 5.371 MB / 1.198 GB, free: 16.18 MB / 0.698 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.03356/1.394, allocations: 22.77 MB / 1.22 GB, free: 7.359 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005968/1.4, allocations: 2.501 MB / 1.223 GB, free: 4.738 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002398/1.4, allocations: 118.1 kB / 1.223 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/1.4, allocations: 51.5 kB / 1.223 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=116): time 4.017e-06/1.4, allocations: 0 / 1.223 GB, free: 4.547 MB / 0.7136 GB Notification: Performance of matching and sorting (n=146): time 0.03813/1.439, allocations: 11.56 MB / 1.234 GB, free: 8.941 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001455/1.439, allocations: 222.9 kB / 1.234 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/1.44, allocations: 0.9369 MB / 1.235 GB, free: 7.73 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003423/1.441, allocations: 53.73 kB / 1.235 GB, free: 7.672 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009269/1.442, allocations: 1.242 MB / 1.237 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007393/1.442, allocations: 0.5046 MB / 1.237 GB, free: 5.898 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/1.442, allocations: 40 kB / 1.237 GB, free: 5.859 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002908/1.443, allocations: 431 kB / 1.237 GB, free: 5.43 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004859/1.448, allocations: 1.757 MB / 1.239 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005526/1.453, allocations: 2.443 MB / 1.242 GB, free: 0.9102 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004999/1.458, allocations: 2.067 MB / 1.244 GB, free: 14.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.889e-05/1.458, allocations: 12 kB / 1.244 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.01275/1.471, allocations: 4.985 MB / 1.248 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.003424/1.475, allocations: 8.61 MB / 1.257 GB, free: 0.5273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.804e-05/1.475, allocations: 31.94 kB / 1.257 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002168/1.477, allocations: 0.7504 MB / 1.258 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003603/1.48, allocations: 0.7642 MB / 1.258 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0132/1.494, allocations: 12.8 MB / 1.271 GB, free: 1.363 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003403/1.497, allocations: 471 kB / 1.271 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00038/1.497, allocations: 119.9 kB / 1.271 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/1.497, allocations: 4 kB / 1.271 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01131/1.509, allocations: 4.852 MB / 1.276 GB, free: 11.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.854e-05/1.509, allocations: 24 kB / 1.276 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001779/1.511, allocations: 0.6882 MB / 1.277 GB, free: 11.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003372/1.514, allocations: 0.7643 MB / 1.278 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0134/1.527, allocations: 12.71 MB / 1.29 GB, free: 12.91 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003505/1.531, allocations: 451.2 kB / 1.29 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/1.531, allocations: 115.9 kB / 1.291 GB, free: 12.35 MB / 0.7917 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.002852/1.534, allocations: 1.281 MB / 1.292 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00045/1.535, allocations: 122.6 kB / 1.292 GB, free: 10.94 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/1.546, allocations: 4.351 MB / 1.296 GB, free: 6.535 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.23e-05/1.546, allocations: 12 kB / 1.296 GB, free: 6.523 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.492e-05/1.546, allocations: 12 kB / 1.296 GB, free: 6.512 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.744e-05/1.546, allocations: 15.91 kB / 1.296 GB, free: 6.496 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/1.563, allocations: 7.933 MB / 1.304 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.707e-05/1.563, allocations: 8 kB / 1.304 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002553/1.566, allocations: 0.5186 MB / 1.305 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/1.568, allocations: 0.645 MB / 1.305 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/1.568, allocations: 47.95 kB / 1.305 GB, free: 13.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0131/1.581, allocations: 12.34 MB / 1.317 GB, free: 12 kB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.304e-05/1.581, allocations: 11.98 kB / 1.317 GB, free: 16 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01098/1.592, allocations: 4.5 MB / 1.322 GB, free: 11.22 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001378/1.594, allocations: 495.4 kB / 1.322 GB, free: 10.72 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002945/1.594, allocations: 35.98 kB / 1.322 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/1.596, allocations: 399.3 kB / 1.323 GB, free: 10.29 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003185/1.597, allocations: 132.7 kB / 1.323 GB, free: 10.16 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/1.597, allocations: 63.95 kB / 1.323 GB, free: 10.1 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001113/1.598, allocations: 0.7293 MB / 1.323 GB, free: 9.375 MB / 0.823 GB Notification: Performance of sort global known variables: time 2e-07/1.598, allocations: 0 / 1.323 GB, free: 9.375 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.004215/1.602, allocations: 1.164 MB / 1.325 GB, free: 8.211 MB / 0.823 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.01128/1.614, allocations: 6.964 MB / 1.331 GB, free: 1.023 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01896/1.633, allocations: 8.098 MB / 1.339 GB, free: 8.77 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.076e-05/1.633, allocations: 0 / 1.339 GB, free: 8.77 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.006095/1.639, allocations: 2.728 MB / 1.342 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/1.64, allocations: 150.8 kB / 1.342 GB, free: 5.824 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05129/1.691, allocations: 32.33 MB / 1.374 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004101/1.696, allocations: 2.33 MB / 1.376 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004317/1.7, allocations: 1.249 MB / 1.377 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/1.702, allocations: 0.8507 MB / 1.378 GB, free: 224 kB / 0.8698 GB Notification: Performance of SimCode: time 2.645e-06/1.702, allocations: 0 / 1.378 GB, free: 224 kB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6037/2.305, allocations: 46.26 MB / 1.423 GB, free: 259.7 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001767/2.306, allocations: 239.2 kB / 1.423 GB, free: 259.4 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.308/5.613, allocations: 0 / 1.423 GB, free: 259.4 MB / 0.8855 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)