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.522/1.522, 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.001432/0.001432, allocations: 178.5 kB / 326.5 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.852/1.852, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0009977/0.0009976, allocations: 95.61 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003678/0.0003679, allocations: 11.12 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2627, allocations: 106.3 MB / 0.9002 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.01338/0.2762, allocations: 15.19 MB / 0.915 GB, free: 48.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008236/0.2845, allocations: 5.767 MB / 0.9206 GB, free: 42.8 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.2858, allocations: 39.88 kB / 0.9207 GB, free: 42.76 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008094/0.2866, allocations: 330.1 kB / 0.921 GB, free: 42.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.2885, allocations: 0.623 MB / 0.9216 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.2904, allocations: 0.6316 MB / 0.9222 GB, free: 41.18 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001946/0.2923, allocations: 1.774 MB / 0.9239 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006698/0.299, allocations: 5.916 MB / 0.9297 GB, free: 33.42 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001525/0.3006, allocations: 1.063 MB / 0.9307 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/0.3019, allocations: 1.238 MB / 0.932 GB, free: 31.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002918/0.3022, allocations: 192 kB / 0.9321 GB, free: 30.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.3037, allocations: 0.5813 MB / 0.9327 GB, free: 30.34 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0009802/0.3047, allocations: 1.329 MB / 0.934 GB, free: 29.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0004548/0.3051, allocations: 0.5473 MB / 0.9345 GB, free: 28.46 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.00353/0.3087, allocations: 5.35 MB / 0.9398 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3087, allocations: 3.938 kB / 0.9398 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.294e-06/0.3087, allocations: 0 / 0.9398 GB, free: 23.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001039/0.3088, allocations: 0 / 0.9398 GB, free: 23.09 MB / 0.6042 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.004874/0.3137, allocations: 2.416 MB / 0.9421 GB, free: 20.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.3137, allocations: 11.97 kB / 0.9421 GB, free: 20.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006568/0.3144, allocations: 458.1 kB / 0.9426 GB, free: 20.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.3244, allocations: 2.084 MB / 0.9446 GB, free: 18.05 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/0.3284, allocations: 1.584 MB / 0.9462 GB, free: 16.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.3285, allocations: 221.9 kB / 0.9464 GB, free: 16.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006254/0.3292, allocations: 288 kB / 0.9466 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01129/0.3405, allocations: 5.73 MB / 0.9522 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.303e-05/0.3406, allocations: 0 / 0.9522 GB, free: 10.1 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000323/0.3409, allocations: 127.9 kB / 0.9524 GB, free: 9.977 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002908/0.3412, allocations: 204.9 kB / 0.9526 GB, free: 9.773 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01178/0.353, allocations: 5.787 MB / 0.9582 GB, free: 3.969 MB / 0.6042 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.02864/0.3817, allocations: 23.02 MB / 0.9807 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005474/0.3872, allocations: 2.654 MB / 0.9833 GB, free: 8.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001837/0.3874, allocations: 118 kB / 0.9834 GB, free: 7.984 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/0.3874, allocations: 55.5 kB / 0.9834 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=116): time 4.659e-06/0.3875, allocations: 3.938 kB / 0.9834 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of matching and sorting (n=116): time 0.01459/0.402, allocations: 5.19 MB / 0.9885 GB, free: 2.648 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001283/0.4022, allocations: 226.6 kB / 0.9887 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.4041, allocations: 1.035 MB / 0.9897 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001847/0.4043, allocations: 45.7 kB / 0.9898 GB, free: 1.281 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009862/0.4053, allocations: 1.238 MB / 0.991 GB, free: 24 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005321/0.4058, allocations: 418.2 kB / 0.9914 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/0.406, allocations: 36 kB / 0.9914 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002553/0.4062, allocations: 418.7 kB / 0.9918 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004289/0.4105, allocations: 1.631 MB / 0.9934 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004734/0.4153, allocations: 2.301 MB / 0.9957 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004566/0.4199, allocations: 1.915 MB / 0.9975 GB, free: 9.004 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.476e-05/0.4199, allocations: 12 kB / 0.9976 GB, free: 8.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=244) (initialization): time 0.01088/0.4308, allocations: 4.398 MB / 1.002 GB, free: 4.574 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.003902/0.4347, allocations: 8.605 MB / 1.01 GB, free: 11.29 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-05/0.4348, allocations: 24 kB / 1.01 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001533/0.4363, allocations: 458.1 kB / 1.011 GB, free: 10.81 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003573/0.4399, allocations: 0.7604 MB / 1.011 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007489/0.4474, allocations: 6.541 MB / 1.018 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003615/0.4511, allocations: 0.5792 MB / 1.018 GB, free: 2.527 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004057/0.4515, allocations: 111.9 kB / 1.019 GB, free: 2.418 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.4515, allocations: 4 kB / 1.019 GB, free: 2.414 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01068/0.4622, allocations: 4.241 MB / 1.023 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-05/0.4623, allocations: 20 kB / 1.023 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007781/0.4631, allocations: 350.6 kB / 1.023 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00329/0.4664, allocations: 0.7565 MB / 1.024 GB, free: 13.03 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0071/0.4735, allocations: 6.346 MB / 1.03 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003264/0.4768, allocations: 0.5216 MB / 1.03 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002161/0.4771, allocations: 111.9 kB / 1.031 GB, free: 5.652 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.002495/0.4796, allocations: 1.25 MB / 1.032 GB, free: 4.391 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004079/0.48, allocations: 114.7 kB / 1.032 GB, free: 4.277 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009755/0.4897, allocations: 3.614 MB / 1.035 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.146e-05/0.4898, allocations: 12 kB / 1.035 GB, free: 0.6133 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/0.4898, allocations: 4 kB / 1.035 GB, free: 0.6094 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.577e-05/0.4898, allocations: 3.984 kB / 1.035 GB, free: 0.6055 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01525/0.5051, allocations: 6.981 MB / 1.042 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.476e-05/0.5052, allocations: 4 kB / 1.042 GB, free: 9.48 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002387/0.5076, allocations: 0.5231 MB / 1.043 GB, free: 8.957 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000949/0.5085, allocations: 354.5 kB / 1.043 GB, free: 8.602 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001451/0.5087, allocations: 43.95 kB / 1.043 GB, free: 8.559 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006956/0.5156, allocations: 6.412 MB / 1.049 GB, free: 1.742 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.484e-06/0.5157, allocations: 12 kB / 1.049 GB, free: 1.73 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5262/1.042, allocations: 3.853 MB / 1.053 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001097/1.043, allocations: 474.4 kB / 1.054 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001939/1.043, allocations: 27.06 kB / 1.054 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/1.046, allocations: 389 kB / 1.054 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002366/1.046, allocations: 95.94 kB / 1.054 GB, free: 136.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.046, allocations: 52.14 kB / 1.054 GB, free: 136.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001134/1.047, allocations: 0.7388 MB / 1.055 GB, free: 136 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/1.047, allocations: 2.906 kB / 1.055 GB, free: 136 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003882/1.051, allocations: 1.433 MB / 1.056 GB, free: 135.8 MB / 0.698 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.0112/1.062, allocations: 5.888 MB / 1.062 GB, free: 132.9 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01993/1.082, allocations: 6.519 MB / 1.068 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.156e-05/1.082, allocations: 1 kB / 1.068 GB, free: 132.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005912/1.088, allocations: 2.057 MB / 1.07 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001381/1.09, allocations: 148.2 kB / 1.071 GB, free: 131.7 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0448/1.134, allocations: 31.04 MB / 1.101 GB, free: 111.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/1.136, allocations: 2.243 MB / 1.103 GB, free: 110.4 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003698/1.14, allocations: 1.236 MB / 1.104 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.141, allocations: 0.8365 MB / 1.105 GB, free: 109.1 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.141, allocations: 0 / 1.105 GB, free: 109.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05602/1.197, allocations: 39.16 MB / 1.143 GB, free: 70.93 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.198, allocations: 239.6 kB / 1.144 GB, free: 70.69 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.793/3.99, allocations: 0 / 1.144 GB, free: 70.69 MB / 0.698 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)