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.TransformerStepDownYD.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.TransformerStepDownYD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.431/1.431, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.001046/0.001046, allocations: 178 kB / 325.8 MB, free: 2.684 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.012/2.012, allocations: 205 MB / 0.576 GB, free: 20.99 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.0008864/0.0008863, allocations: 93.81 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003379/0.0003379, allocations: 20.61 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2296, allocations: 105.4 MB / 0.8962 GB, free: 68.06 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.01392/0.2436, allocations: 15.91 MB / 0.9118 GB, free: 52.09 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.008768/0.2524, allocations: 5.974 MB / 0.9176 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.254, allocations: 35.88 kB / 0.9176 GB, free: 46.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.003028/0.257, allocations: 1.26 MB / 0.9189 GB, free: 44.8 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.00246/0.2595, allocations: 0.9694 MB / 0.9198 GB, free: 43.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002269/0.2618, allocations: 0.9414 MB / 0.9207 GB, free: 42.89 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.004365/0.2662, allocations: 6.292 MB / 0.9269 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007022/0.2732, allocations: 6.045 MB / 0.9328 GB, free: 30.47 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002241/0.2755, allocations: 1.3 MB / 0.934 GB, free: 29.17 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002435/0.2779, allocations: 1.9 MB / 0.9359 GB, free: 27.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0003918/0.2783, allocations: 188 kB / 0.9361 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.2802, allocations: 1.041 MB / 0.9371 GB, free: 26.04 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001108/0.2813, allocations: 1.407 MB / 0.9385 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.001175/0.2825, allocations: 1.337 MB / 0.9398 GB, free: 23.28 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004293/0.2868, allocations: 6.032 MB / 0.9457 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.2868, allocations: 0 / 0.9457 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.623e-06/0.2868, allocations: 0 / 0.9457 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001329/0.287, allocations: 0 / 0.9457 GB, free: 17.23 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: 769 * Number of variables: 769 Notification: Performance of Generate backend data structure: time 0.004192/0.2912, allocations: 2.389 MB / 0.948 GB, free: 14.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.2912, allocations: 15.97 kB / 0.948 GB, free: 14.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005865/0.2918, allocations: 437.8 kB / 0.9484 GB, free: 14.33 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009609/0.3014, allocations: 2.007 MB / 0.9504 GB, free: 12.32 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.3042, allocations: 1.585 MB / 0.9519 GB, free: 10.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001053/0.3043, allocations: 218.1 kB / 0.9521 GB, free: 10.47 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000458/0.3048, allocations: 280.4 kB / 0.9524 GB, free: 10.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01004/0.3148, allocations: 5.693 MB / 0.958 GB, free: 4.406 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.333e-05/0.3149, allocations: 3.938 kB / 0.958 GB, free: 4.402 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003096/0.3152, allocations: 120 kB / 0.9581 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002385/0.3155, allocations: 200.7 kB / 0.9583 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01309/0.3286, allocations: 5.83 MB / 0.964 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02783/0.3565, allocations: 22.63 MB / 0.9861 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005507/0.362, allocations: 3.024 MB / 0.989 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004488/0.3665, allocations: 1.936 MB / 0.9909 GB, free: 436 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000198/0.3668, allocations: 114 kB / 0.991 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.017e-05/0.3668, allocations: 55.5 kB / 0.9911 GB, free: 236 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=132): time 3.446e-06/0.3668, allocations: 0 / 0.9911 GB, free: 236 kB / 0.6355 GB Notification: Performance of matching and sorting (n=174): time 0.03769/0.4045, allocations: 12.97 MB / 1.004 GB, free: 3.223 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.4047, allocations: 234.9 kB / 1.004 GB, free: 2.945 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001328/0.406, allocations: 0.953 MB / 1.005 GB, free: 1.98 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003175/0.4064, allocations: 53.7 kB / 1.005 GB, free: 1.922 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007032/0.4071, allocations: 1.162 MB / 1.006 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005903/0.4077, allocations: 0.5931 MB / 1.007 GB, free: 144 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002819/0.408, allocations: 178.1 kB / 1.007 GB, free: 15.96 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.4081, allocations: 330 kB / 1.007 GB, free: 15.63 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004466/0.4125, allocations: 1.878 MB / 1.009 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005244/0.4178, allocations: 2.463 MB / 1.011 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009405/0.4273, allocations: 4.378 MB / 1.016 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.4273, allocations: 4 kB / 1.016 GB, free: 6.395 MB / 0.6667 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01298/0.4403, allocations: 5.438 MB / 1.021 GB, free: 0.9375 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004767/0.4408, allocations: 0.6151 MB / 1.022 GB, free: 72 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/0.4409, allocations: 20 kB / 1.022 GB, free: 52 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003316/0.4442, allocations: 1.211 MB / 1.023 GB, free: 14.83 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003268/0.4475, allocations: 0.7253 MB / 1.023 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/0.4621, allocations: 10.5 MB / 1.034 GB, free: 3.336 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003692/0.4658, allocations: 455.1 kB / 1.034 GB, free: 2.891 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006488/0.4665, allocations: 112.1 kB / 1.034 GB, free: 2.781 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.4665, allocations: 8 kB / 1.034 GB, free: 2.773 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01362/0.4802, allocations: 5.247 MB / 1.039 GB, free: 13.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.233e-05/0.4803, allocations: 16 kB / 1.039 GB, free: 13.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002665/0.4829, allocations: 0.9623 MB / 1.04 GB, free: 12.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/0.4862, allocations: 0.737 MB / 1.041 GB, free: 11.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01351/0.4998, allocations: 10.4 MB / 1.051 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/0.5031, allocations: 443.1 kB / 1.052 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005375/0.5037, allocations: 112 kB / 1.052 GB, free: 0.5781 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,31,92.0%), (5,31,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.379/0.8827, allocations: 1.273 MB / 1.053 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005134/0.8832, allocations: 123.9 kB / 1.053 GB, free: 141.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0121/0.8953, allocations: 4.97 MB / 1.058 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-05/0.8954, allocations: 17.97 kB / 1.058 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.736e-05/0.8954, allocations: 11.81 kB / 1.058 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.807e-05/0.8954, allocations: 12.19 kB / 1.058 GB, free: 141 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0196/0.915, allocations: 8.951 MB / 1.067 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.166e-05/0.9151, allocations: 7.406 kB / 1.067 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002403/0.9175, allocations: 0.5298 MB / 1.067 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002635/0.9202, allocations: 0.9838 MB / 1.068 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002051/0.9204, allocations: 61.34 kB / 1.068 GB, free: 139.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01331/0.9337, allocations: 9.993 MB / 1.078 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-05/0.9338, allocations: 12.8 kB / 1.078 GB, free: 134.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01087/0.9447, allocations: 4.774 MB / 1.083 GB, free: 132.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/0.9458, allocations: 498.4 kB / 1.083 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.9461, allocations: 39.38 kB / 1.083 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002592/0.9487, allocations: 394.8 kB / 1.084 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004353/0.9492, allocations: 158.9 kB / 1.084 GB, free: 132.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000196/0.9494, allocations: 67.7 kB / 1.084 GB, free: 132.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001142/0.9505, allocations: 0.6932 MB / 1.085 GB, free: 131.8 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.233e-06/0.9506, allocations: 2.594 kB / 1.085 GB, free: 131.8 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003543/0.9541, allocations: 1.187 MB / 1.086 GB, free: 131.7 MB / 0.698 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(4,32,100.0%), (8,28,53.1%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00951/0.9636, allocations: 5.372 MB / 1.091 GB, free: 128.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01583/0.9795, allocations: 7.997 MB / 1.099 GB, free: 120.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-05/0.9795, allocations: 0.875 kB / 1.099 GB, free: 120.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005725/0.9853, allocations: 2.667 MB / 1.101 GB, free: 118.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002248/0.9876, allocations: 183.2 kB / 1.102 GB, free: 118 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04665/1.034, allocations: 26.9 MB / 1.128 GB, free: 89.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/1.037, allocations: 2.315 MB / 1.13 GB, free: 87.63 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003367/1.04, allocations: 1.218 MB / 1.131 GB, free: 86.41 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/1.041, allocations: 0.8585 MB / 1.132 GB, free: 85.55 MB / 0.698 GB Notification: Performance of SimCode: time 1.011e-06/1.041, allocations: 0 / 1.132 GB, free: 85.55 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06149/1.103, allocations: 51.07 MB / 1.182 GB, free: 34.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001496/1.103, allocations: 280.6 kB / 1.182 GB, free: 34.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.262/4.365, allocations: 0 / 1.182 GB, free: 34.44 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1)