Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.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.TransformerStepDownYD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",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 1.588/1.588, allocations: 287.4 MB / 302.6 MB, free: 8.289 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.0009716/0.0009715, allocations: 193.8 kB / 371.1 MB, free: 10.81 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.655/1.655, allocations: 205.4 MB / 0.6298 GB, free: 10.52 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.0008239/0.0008239, allocations: 93.48 kB / 0.7431 GB, free: 6.523 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005097/0.00051, allocations: 15.16 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2523, allocations: 115.3 MB / 0.9787 GB, free: 28.09 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.01333/0.2656, allocations: 14.83 MB / 0.9932 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.007833/0.2735, allocations: 5.607 MB / 0.9987 GB, free: 7.582 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001176/0.2747, allocations: 39.88 kB / 0.9987 GB, free: 7.543 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.2754, allocations: 285.9 kB / 0.999 GB, free: 7.262 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001842/0.2773, allocations: 0.7742 MB / 0.9998 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001712/0.279, allocations: 0.5975 MB / 1 GB, free: 5.887 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.004731/0.2837, allocations: 4.817 MB / 1.005 GB, free: 1.059 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009862/0.2936, allocations: 6.605 MB / 1.011 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002987/0.2966, allocations: 1.277 MB / 1.013 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003927/0.3006, allocations: 1.862 MB / 1.015 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.001064/0.3017, allocations: 191.9 kB / 1.015 GB, free: 7.047 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.3044, allocations: 0.5931 MB / 1.015 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.002949/0.3073, allocations: 1.399 MB / 1.017 GB, free: 5.051 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.001879/0.3092, allocations: 0.5394 MB / 1.017 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.00812/0.3174, allocations: 5.275 MB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 1.587e-05/0.3174, allocations: 4 kB / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.268e-06/0.3174, allocations: 0 / 1.022 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000352/0.3178, allocations: 0 / 1.022 GB, free: 15.21 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.00893/0.3268, allocations: 2.377 MB / 1.025 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.3268, allocations: 8.031 kB / 1.025 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001166/0.328, allocations: 445.8 kB / 1.025 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.3383, allocations: 2.014 MB / 1.027 GB, free: 10.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/0.3418, allocations: 1.581 MB / 1.029 GB, free: 8.676 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001954/0.342, allocations: 226.1 kB / 1.029 GB, free: 8.453 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005555/0.3426, allocations: 276.4 kB / 1.029 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0151/0.3577, allocations: 5.665 MB / 1.035 GB, free: 2.422 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.931e-05/0.3578, allocations: 3.938 kB / 1.035 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003959/0.3582, allocations: 124 kB / 1.035 GB, free: 2.297 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003667/0.3586, allocations: 200.7 kB / 1.035 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.3738, allocations: 5.814 MB / 1.041 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03437/0.4082, allocations: 22.62 MB / 1.063 GB, free: 3.617 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00629/0.4145, allocations: 3.02 MB / 1.066 GB, free: 436 kB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.5341/0.9487, allocations: 1.925 MB / 1.068 GB, free: 83.83 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002314/0.949, allocations: 122.6 kB / 1.068 GB, free: 83.74 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/0.9491, allocations: 58.91 kB / 1.068 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=132): time 4.048e-06/0.9491, allocations: 1.188 kB / 1.068 GB, free: 83.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=174): time 0.04237/0.9914, allocations: 12.96 MB / 1.08 GB, free: 80.03 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.9916, allocations: 234.3 kB / 1.081 GB, free: 79.77 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001855/0.9935, allocations: 0.95 MB / 1.082 GB, free: 79.38 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003087/0.9938, allocations: 55.58 kB / 1.082 GB, free: 79.32 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007845/0.9946, allocations: 1.149 MB / 1.083 GB, free: 78.45 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006562/0.9952, allocations: 0.5961 MB / 1.083 GB, free: 77.98 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001492/0.9954, allocations: 41.06 kB / 1.083 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002284/0.9956, allocations: 432.9 kB / 1.084 GB, free: 77.59 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004927/1.001, allocations: 1.854 MB / 1.086 GB, free: 77.06 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00523/1.006, allocations: 2.448 MB / 1.088 GB, free: 75.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009621/1.015, allocations: 4.347 MB / 1.092 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.683e-05/1.016, allocations: 7.688 kB / 1.092 GB, free: 73.82 MB / 0.6823 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01231/1.028, allocations: 5.384 MB / 1.097 GB, free: 72.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000338/1.028, allocations: 0.6223 MB / 1.098 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.268e-05/1.028, allocations: 17.69 kB / 1.098 GB, free: 71.24 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003303/1.032, allocations: 1.235 MB / 1.099 GB, free: 70.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/1.035, allocations: 0.7282 MB / 1.1 GB, free: 70.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01401/1.049, allocations: 10.53 MB / 1.11 GB, free: 63.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003322/1.052, allocations: 459 kB / 1.111 GB, free: 63.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002922/1.053, allocations: 114.8 kB / 1.111 GB, free: 63.37 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/1.053, allocations: 7.156 kB / 1.111 GB, free: 63.37 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01201/1.065, allocations: 5.228 MB / 1.116 GB, free: 60.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-05/1.065, allocations: 22.5 kB / 1.116 GB, free: 60.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/1.067, allocations: 0.9583 MB / 1.117 GB, free: 60.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002878/1.07, allocations: 0.7278 MB / 1.118 GB, free: 59.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01115/1.081, allocations: 10.38 MB / 1.128 GB, free: 50.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003439/1.084, allocations: 443.2 kB / 1.128 GB, free: 50.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003263/1.085, allocations: 108.8 kB / 1.128 GB, free: 50.19 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * 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 (212): * Single equations (assignments): 210 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,63.3%) 29,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002857/1.088, allocations: 1.281 MB / 1.13 GB, free: 48.9 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.089, allocations: 122.5 kB / 1.13 GB, free: 48.78 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01097/1.1, allocations: 4.961 MB / 1.134 GB, free: 43.77 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.812e-05/1.1, allocations: 16 kB / 1.135 GB, free: 43.76 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.427e-05/1.1, allocations: 12 kB / 1.135 GB, free: 43.75 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.997e-05/1.1, allocations: 15.91 kB / 1.135 GB, free: 43.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01718/1.117, allocations: 8.948 MB / 1.143 GB, free: 34.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.545e-05/1.117, allocations: 8 kB / 1.143 GB, free: 34.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.119, allocations: 0.5303 MB / 1.144 GB, free: 34.08 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002281/1.122, allocations: 0.9705 MB / 1.145 GB, free: 33.11 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001771/1.122, allocations: 55.95 kB / 1.145 GB, free: 33.05 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01076/1.133, allocations: 9.967 MB / 1.155 GB, free: 22.82 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/1.133, allocations: 17.53 kB / 1.155 GB, free: 22.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009747/1.142, allocations: 4.759 MB / 1.159 GB, free: 17.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009701/1.143, allocations: 0.515 MB / 1.16 GB, free: 17.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002186/1.144, allocations: 36 kB / 1.16 GB, free: 17.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002246/1.146, allocations: 405.6 kB / 1.16 GB, free: 16.96 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003764/1.146, allocations: 160.9 kB / 1.16 GB, free: 16.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000133/1.146, allocations: 67.95 kB / 1.16 GB, free: 16.74 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0008795/1.147, allocations: 0.6861 MB / 1.161 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/1.147, allocations: 0 / 1.161 GB, free: 16.05 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.004161/1.151, allocations: 1.185 MB / 1.162 GB, free: 14.87 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * 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 (103): * Single equations (assignments): 101 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,100.0%) 32,(8,53.1%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009911/1.161, allocations: 5.358 MB / 1.167 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01766/1.179, allocations: 8.013 MB / 1.175 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.518e-05/1.179, allocations: 0 / 1.175 GB, free: 1.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.006254/1.185, allocations: 2.661 MB / 1.178 GB, free: 14.66 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002319/1.188, allocations: 185.2 kB / 1.178 GB, free: 14.48 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04358/1.231, allocations: 18.22 MB / 1.196 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00255/1.234, allocations: 2.315 MB / 1.198 GB, free: 9.355 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00394/1.238, allocations: 1.225 MB / 1.199 GB, free: 8.129 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001294/1.239, allocations: 0.8624 MB / 1.2 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of SimCode: time 8.12e-07/1.239, allocations: 0 / 1.2 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08404/1.323, allocations: 51.6 MB / 1.25 GB, free: 3.984 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002004/1.323, allocations: 267.5 kB / 1.251 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.349/4.672, allocations: 4 kB / 1.251 GB, free: 3.637 MB / 0.7605 GB (rm -f Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_8.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1)