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.596/2.596, allocations: 287.5 MB / 302.4 MB, free: 8.312 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.00199/0.00199, allocations: 193.2 kB / 371 MB, free: 10.85 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.179/2.179, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009071/0.0009067, allocations: 97.2 kB / 0.743 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006916/0.000692, allocations: 12.06 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2187, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer): time 0.02304/0.2418, allocations: 15.5 MB / 0.9936 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.01209/0.2539, allocations: 5.794 MB / 0.9993 GB, free: 6.875 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001445/0.2554, allocations: 39.88 kB / 0.9993 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/0.2569, allocations: 309.8 kB / 0.9996 GB, free: 6.531 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.003372/0.2603, allocations: 0.8015 MB / 1 GB, free: 5.727 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.2637, allocations: 0.6052 MB / 1.001 GB, free: 5.121 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006359/0.2701, allocations: 4.903 MB / 1.006 GB, free: 212 kB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01495/0.2851, allocations: 5.927 MB / 1.012 GB, free: 10.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003687/0.2889, allocations: 1.304 MB / 1.013 GB, free: 8.918 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004799/0.2937, allocations: 1.901 MB / 1.015 GB, free: 7.012 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001139/0.2949, allocations: 188 kB / 1.015 GB, free: 6.828 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002999/0.298, allocations: 0.597 MB / 1.015 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.00309/0.3011, allocations: 1.438 MB / 1.017 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.00171/0.3029, allocations: 0.5551 MB / 1.017 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/0.3132, allocations: 5.361 MB / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/0.3133, allocations: 4 kB / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3133, allocations: 0 / 1.023 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002165/0.3135, allocations: 0 / 1.023 GB, free: 14.85 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.01298/0.3265, allocations: 2.432 MB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.953e-05/0.3266, allocations: 8.031 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002494/0.3291, allocations: 454.1 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02864/0.3578, allocations: 2.013 MB / 1.027 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007164/0.3651, allocations: 1.592 MB / 1.029 GB, free: 8.234 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004973/0.3656, allocations: 225.9 kB / 1.029 GB, free: 8.012 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001862/0.3675, allocations: 288 kB / 1.029 GB, free: 7.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02709/0.3947, allocations: 5.738 MB / 1.035 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.59e-05/0.3948, allocations: 0 / 1.035 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000927/0.3958, allocations: 128 kB / 1.035 GB, free: 1.773 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005754/0.3964, allocations: 204.9 kB / 1.035 GB, free: 1.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02568/0.4221, allocations: 5.799 MB / 1.041 GB, free: 11.75 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.04519/0.4673, allocations: 22.85 MB / 1.063 GB, free: 2.848 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/0.4776, allocations: 2.522 MB / 1.066 GB, free: 216 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.6262/1.104, allocations: 1.619 MB / 1.067 GB, free: 83.69 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000314/1.104, allocations: 112.1 kB / 1.068 GB, free: 83.6 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.763e-05/1.104, allocations: 53.84 kB / 1.068 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=116): time 5.861e-06/1.104, allocations: 0 / 1.068 GB, free: 83.56 MB / 0.6823 GB Notification: Performance of matching and sorting (n=146): time 0.06878/1.173, allocations: 11.59 MB / 1.079 GB, free: 80.11 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.172e-05/1.173, allocations: 227.5 kB / 1.079 GB, free: 79.85 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002182/1.175, allocations: 1.044 MB / 1.08 GB, free: 79.42 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004024/1.176, allocations: 51.36 kB / 1.08 GB, free: 79.37 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009862/1.177, allocations: 1.235 MB / 1.081 GB, free: 78.43 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009143/1.178, allocations: 0.5027 MB / 1.082 GB, free: 78.04 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002952/1.178, allocations: 44.16 kB / 1.082 GB, free: 78.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002736/1.178, allocations: 428.5 kB / 1.082 GB, free: 77.65 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00855/1.187, allocations: 1.765 MB / 1.084 GB, free: 77.15 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009082/1.196, allocations: 2.446 MB / 1.086 GB, free: 75.79 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009307/1.205, allocations: 2.084 MB / 1.088 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.493e-05/1.206, allocations: 9.656 kB / 1.088 GB, free: 75.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.02285/1.228, allocations: 5.063 MB / 1.093 GB, free: 73.44 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005367/1.229, allocations: 0.7276 MB / 1.094 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.582e-05/1.229, allocations: 26.03 kB / 1.094 GB, free: 72.46 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004773/1.234, allocations: 0.8878 MB / 1.095 GB, free: 72.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00625/1.24, allocations: 0.7541 MB / 1.096 GB, free: 72.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01886/1.259, allocations: 12.8 MB / 1.108 GB, free: 61.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005594/1.265, allocations: 467.2 kB / 1.109 GB, free: 61.72 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004064/1.265, allocations: 118.6 kB / 1.109 GB, free: 61.69 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/1.265, allocations: 3.688 kB / 1.109 GB, free: 61.69 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02941/1.295, allocations: 4.893 MB / 1.114 GB, free: 59.11 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001263/1.295, allocations: 22.56 kB / 1.114 GB, free: 59.11 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005386/1.3, allocations: 0.7626 MB / 1.114 GB, free: 58.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007983/1.308, allocations: 0.7565 MB / 1.115 GB, free: 58.44 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01859/1.327, allocations: 12.65 MB / 1.127 GB, free: 47.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00518/1.332, allocations: 449 kB / 1.128 GB, free: 47.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004069/1.333, allocations: 110.6 kB / 1.128 GB, free: 47.21 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.002937/1.335, allocations: 1.294 MB / 1.129 GB, free: 46.36 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006239/1.336, allocations: 123.5 kB / 1.129 GB, free: 46.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01912/1.355, allocations: 4.384 MB / 1.134 GB, free: 43.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.869e-05/1.355, allocations: 15.95 kB / 1.134 GB, free: 43.56 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.38e-05/1.355, allocations: 8 kB / 1.134 GB, free: 43.55 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.384e-05/1.355, allocations: 15.58 kB / 1.134 GB, free: 43.54 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02669/1.382, allocations: 8.229 MB / 1.142 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-05/1.382, allocations: 7.953 kB / 1.142 GB, free: 35.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004652/1.387, allocations: 0.5231 MB / 1.142 GB, free: 34.59 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003714/1.391, allocations: 0.709 MB / 1.143 GB, free: 33.87 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003573/1.391, allocations: 51.95 kB / 1.143 GB, free: 33.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01971/1.411, allocations: 12.28 MB / 1.155 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.485e-05/1.411, allocations: 4 kB / 1.155 GB, free: 20.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02771/1.438, allocations: 4.214 MB / 1.159 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001443/1.44, allocations: 491.4 kB / 1.16 GB, free: 15.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005339/1.441, allocations: 39.98 kB / 1.16 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004815/1.445, allocations: 387.4 kB / 1.16 GB, free: 15.52 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004851/1.446, allocations: 129.8 kB / 1.16 GB, free: 15.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002347/1.446, allocations: 59.95 kB / 1.16 GB, free: 15.34 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001365/1.448, allocations: 0.7371 MB / 1.161 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.9e-07/1.448, allocations: 0 / 1.161 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006339/1.454, allocations: 1.119 MB / 1.162 GB, free: 13.49 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.01801/1.472, allocations: 4.811 MB / 1.167 GB, free: 8.555 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0296/1.502, allocations: 8.024 MB / 1.174 GB, free: 396 kB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/1.502, allocations: 2.625 kB / 1.175 GB, free: 396 kB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.01091/1.513, allocations: 2.71 MB / 1.177 GB, free: 13.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002205/1.515, allocations: 175.2 kB / 1.177 GB, free: 13.43 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07235/1.587, allocations: 17.63 MB / 1.195 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003905/1.591, allocations: 2.287 MB / 1.197 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.006856/1.598, allocations: 1.233 MB / 1.198 GB, free: 7.578 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002502/1.601, allocations: 0.8546 MB / 1.199 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of SimCode: time 1.192e-06/1.601, allocations: 0 / 1.199 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1298/1.73, allocations: 47.45 MB / 1.245 GB, free: 7.543 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003022/1.731, allocations: 241.2 kB / 1.245 GB, free: 7.305 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.07/5.801, allocations: 0 / 1.245 GB, free: 7.305 MB / 0.7605 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)