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.458/1.458, allocations: 251.9 MB / 266.9 MB, free: 10.98 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.001195/0.001195, allocations: 183.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 2.029/2.029, allocations: 205.4 MB / 0.5775 GB, free: 20.26 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.001117/0.001117, allocations: 94.94 kB / 0.6821 GB, free: 12.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003544/0.0003547, allocations: 8.625 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2217/0.222, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD): time 0.01235/0.2344, allocations: 14.5 MB / 0.9143 GB, free: 49.28 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.006876/0.2414, allocations: 5.564 MB / 0.9198 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.2425, allocations: 35.88 kB / 0.9198 GB, free: 43.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0008366/0.2434, allocations: 326.1 kB / 0.9201 GB, free: 43.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001979/0.2454, allocations: 0.6075 MB / 0.9207 GB, free: 42.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.00177/0.2471, allocations: 0.6268 MB / 0.9213 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002139/0.2493, allocations: 1.739 MB / 0.923 GB, free: 40.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006576/0.2559, allocations: 5.829 MB / 0.9287 GB, free: 34.48 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001345/0.2572, allocations: 1.044 MB / 0.9297 GB, free: 33.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001171/0.2584, allocations: 1.211 MB / 0.9309 GB, free: 32.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.2587, allocations: 188 kB / 0.9311 GB, free: 32.03 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001194/0.2599, allocations: 0.5813 MB / 0.9316 GB, free: 31.45 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.001075/0.261, allocations: 1.29 MB / 0.9329 GB, free: 30.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0006884/0.2617, allocations: 0.5395 MB / 0.9334 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004939/0.2666, allocations: 5.252 MB / 0.9386 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2667, allocations: 4 kB / 0.9386 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.865e-06/0.2667, allocations: 0 / 0.9386 GB, free: 24.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001947/0.2669, allocations: 3.938 kB / 0.9386 GB, free: 24.34 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.005245/0.2721, allocations: 2.408 MB / 0.9409 GB, free: 21.87 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2722, allocations: 8.031 kB / 0.9409 GB, free: 21.86 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006224/0.2728, allocations: 449.6 kB / 0.9414 GB, free: 21.41 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01006/0.2829, allocations: 2.064 MB / 0.9434 GB, free: 19.34 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003679/0.2866, allocations: 1.572 MB / 0.9449 GB, free: 17.73 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001315/0.2867, allocations: 213.8 kB / 0.9451 GB, free: 17.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006716/0.2874, allocations: 288 kB / 0.9454 GB, free: 17.23 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0117/0.2991, allocations: 5.647 MB / 0.9509 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.928e-05/0.2993, allocations: 0 / 0.9509 GB, free: 11.49 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003565/0.2996, allocations: 116 kB / 0.951 GB, free: 11.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000314/0.2999, allocations: 208.7 kB / 0.9512 GB, free: 11.17 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.313, allocations: 5.81 MB / 0.9569 GB, free: 5.344 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03023/0.3433, allocations: 22.83 MB / 0.9792 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006222/0.3495, allocations: 3.102 MB / 0.9822 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002343/0.3498, allocations: 118 kB / 0.9823 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.005e-05/0.3499, allocations: 55.5 kB / 0.9824 GB, free: 9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=132): time 3.918e-06/0.3499, allocations: 0 / 0.9824 GB, free: 9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132): time 0.01862/0.3685, allocations: 6.093 MB / 0.9883 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.3687, allocations: 222.6 kB / 0.9885 GB, free: 2.609 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.3703, allocations: 0.9491 MB / 0.9895 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0002289/0.3705, allocations: 53.7 kB / 0.9895 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008231/0.3714, allocations: 1.157 MB / 0.9906 GB, free: 424 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006399/0.372, allocations: 461.6 kB / 0.9911 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.3722, allocations: 36 kB / 0.9911 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002385/0.3725, allocations: 418.7 kB / 0.9915 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00439/0.3769, allocations: 1.666 MB / 0.9931 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/0.3816, allocations: 2.228 MB / 0.9953 GB, free: 11.37 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004817/0.3865, allocations: 1.938 MB / 0.9972 GB, free: 9.434 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.309e-05/0.3865, allocations: 4 kB / 0.9972 GB, free: 9.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=240) (initialization): time 0.01216/0.3987, allocations: 4.489 MB / 1.002 GB, free: 4.926 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.003164/0.4019, allocations: 6.871 MB / 1.008 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.178e-05/0.402, allocations: 16 kB / 1.008 GB, free: 13.5 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001946/0.404, allocations: 0.6407 MB / 1.009 GB, free: 12.86 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/0.4075, allocations: 0.7292 MB / 1.01 GB, free: 12.13 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007918/0.4155, allocations: 5.357 MB / 1.015 GB, free: 6.633 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/0.4188, allocations: 0.5754 MB / 1.015 GB, free: 6.055 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004208/0.4192, allocations: 99.95 kB / 1.016 GB, free: 5.957 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.4192, allocations: 8 kB / 1.016 GB, free: 5.949 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01142/0.4307, allocations: 4.336 MB / 1.02 GB, free: 1.605 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-05/0.4308, allocations: 16 kB / 1.02 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000991/0.4318, allocations: 446.1 kB / 1.02 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003179/0.435, allocations: 0.7331 MB / 1.021 GB, free: 428 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/0.4418, allocations: 5.252 MB / 1.026 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003165/0.445, allocations: 0.5135 MB / 1.027 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004531/0.4455, allocations: 104.2 kB / 1.027 GB, free: 10.41 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * 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 (205): * Single equations (assignments): 204 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(6,75.0%) 30} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002476/0.4479, allocations: 1.218 MB / 1.028 GB, free: 9.176 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005595/0.4485, allocations: 110.7 kB / 1.028 GB, free: 9.066 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0114/0.4599, allocations: 3.951 MB / 1.032 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.293e-05/0.46, allocations: 16 kB / 1.032 GB, free: 5.066 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-05/0.46, allocations: 8 kB / 1.032 GB, free: 5.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.469e-05/0.4601, allocations: 7.984 kB / 1.032 GB, free: 5.051 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01833/0.4784, allocations: 7.367 MB / 1.039 GB, free: 13.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.859e-05/0.4785, allocations: 8.094 kB / 1.039 GB, free: 13.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/0.4809, allocations: 0.5187 MB / 1.04 GB, free: 13.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001141/0.4821, allocations: 477.5 kB / 1.04 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001683/0.4823, allocations: 47.95 kB / 1.04 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006929/0.4892, allocations: 5.24 MB / 1.045 GB, free: 7.125 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-05/0.4892, allocations: 11.94 kB / 1.045 GB, free: 7.113 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009773/0.499, allocations: 4.124 MB / 1.049 GB, free: 2.777 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00123/0.5003, allocations: 499.2 kB / 1.05 GB, free: 2.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003644/0.5007, allocations: 28 kB / 1.05 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002704/0.5034, allocations: 403.3 kB / 1.05 GB, free: 1.848 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003703/0.5038, allocations: 104.8 kB / 1.05 GB, free: 1.746 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001893/0.504, allocations: 51.95 kB / 1.05 GB, free: 1.695 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001494/0.5055, allocations: 0.6864 MB / 1.051 GB, free: 1.012 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5055, allocations: 0 / 1.051 GB, free: 1.012 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.4784/0.9839, allocations: 1.439 MB / 1.052 GB, free: 138 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 (94): * Single equations (assignments): 93 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01009/0.9941, allocations: 6.155 MB / 1.058 GB, free: 135.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01712/1.011, allocations: 6.455 MB / 1.065 GB, free: 134.7 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/1.011, allocations: 0.6562 kB / 1.065 GB, free: 134.7 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.005713/1.017, allocations: 1.994 MB / 1.067 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/1.018, allocations: 140.4 kB / 1.067 GB, free: 134.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04204/1.06, allocations: 28.11 MB / 1.094 GB, free: 119.1 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003193/1.063, allocations: 2.233 MB / 1.096 GB, free: 117.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003865/1.067, allocations: 1.22 MB / 1.098 GB, free: 117.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001213/1.069, allocations: 0.7972 MB / 1.098 GB, free: 116.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.12e-07/1.069, allocations: 3.906 kB / 1.098 GB, free: 116.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08048/1.149, allocations: 40.85 MB / 1.138 GB, free: 78.82 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002716/1.149, allocations: 257.5 kB / 1.138 GB, free: 78.48 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.894, allocations: 0 / 1.138 GB, free: 78.48 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)