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.TransformerStepUpYD.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.TransformerStepUpYD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD",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.566/1.566, allocations: 252 MB / 267 MB, free: 10.96 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.001102/0.001102, allocations: 183.5 kB / 326.6 MB, free: 2.191 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.083/2.083, allocations: 205.4 MB / 0.5777 GB, free: 20.22 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.0009449/0.0009446, allocations: 91.78 kB / 0.6823 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000354/0.000354, allocations: 12.42 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2503/0.2506, allocations: 106.3 MB / 0.9003 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD): time 0.01309/0.2638, allocations: 14.82 MB / 0.9148 GB, free: 48.89 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.007544/0.2714, allocations: 5.607 MB / 0.9203 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00148/0.2729, allocations: 35.88 kB / 0.9203 GB, free: 43.23 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.274, allocations: 297.9 kB / 0.9206 GB, free: 42.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.002427/0.2765, allocations: 0.7781 MB / 0.9213 GB, free: 42.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002306/0.2788, allocations: 0.5964 MB / 0.9219 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.005137/0.2839, allocations: 4.79 MB / 0.9266 GB, free: 36.76 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008738/0.2927, allocations: 5.828 MB / 0.9323 GB, free: 30.87 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002298/0.295, allocations: 1.281 MB / 0.9335 GB, free: 29.59 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002819/0.2979, allocations: 1.858 MB / 0.9354 GB, free: 27.72 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.0008625/0.2987, allocations: 184 kB / 0.9355 GB, free: 27.54 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.301, allocations: 0.6009 MB / 0.9361 GB, free: 26.94 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.002086/0.3031, allocations: 1.399 MB / 0.9375 GB, free: 25.54 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.00117/0.3043, allocations: 0.5395 MB / 0.938 GB, free: 24.99 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.004984/0.3093, allocations: 5.28 MB / 0.9432 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 9.708e-06/0.3093, allocations: 0 / 0.9432 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of FrontEnd: time 4.117e-06/0.3093, allocations: 3.938 kB / 0.9432 GB, free: 19.7 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001353/0.3095, allocations: 4 kB / 0.9432 GB, free: 19.69 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.005869/0.3154, allocations: 2.408 MB / 0.9455 GB, free: 17.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.3154, allocations: 8.031 kB / 0.9455 GB, free: 17.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007322/0.3162, allocations: 449.6 kB / 0.946 GB, free: 16.77 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.3264, allocations: 2.002 MB / 0.9479 GB, free: 14.76 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003561/0.33, allocations: 1.572 MB / 0.9495 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001453/0.3302, allocations: 217.8 kB / 0.9497 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008242/0.331, allocations: 280 kB / 0.9499 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01275/0.3437, allocations: 5.676 MB / 0.9555 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.817e-05/0.3439, allocations: 0 / 0.9555 GB, free: 6.879 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000345/0.3442, allocations: 116 kB / 0.9556 GB, free: 6.766 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003043/0.3445, allocations: 200.8 kB / 0.9558 GB, free: 6.566 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01291/0.3574, allocations: 5.809 MB / 0.9614 GB, free: 0.7422 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04316/0.4007, allocations: 22.62 MB / 0.9835 GB, free: 8.082 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01141/0.4121, allocations: 3.013 MB / 0.9865 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0095/0.4217, allocations: 1.936 MB / 0.9884 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003323/0.4221, allocations: 122 kB / 0.9885 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.437e-05/0.4222, allocations: 55.5 kB / 0.9885 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=132): time 6.202e-06/0.4222, allocations: 0 / 0.9885 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of matching and sorting (n=174): time 0.04502/0.4672, allocations: 12.95 MB / 1.001 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.4674, allocations: 238.9 kB / 1.001 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001344/0.4687, allocations: 0.9491 MB / 1.002 GB, free: 4.508 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002808/0.469, allocations: 49.7 kB / 1.002 GB, free: 4.453 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006426/0.4697, allocations: 1.15 MB / 1.004 GB, free: 3.285 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005707/0.4703, allocations: 0.5931 MB / 1.004 GB, free: 2.684 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001522/0.4704, allocations: 48 kB / 1.004 GB, free: 2.637 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.4706, allocations: 431.1 kB / 1.005 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004489/0.4751, allocations: 1.85 MB / 1.006 GB, free: 360 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004934/0.4801, allocations: 2.452 MB / 1.009 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005087/0.4852, allocations: 2.16 MB / 1.011 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-05/0.4853, allocations: 4 kB / 1.011 GB, free: 11.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01393/0.4992, allocations: 5.392 MB / 1.016 GB, free: 6.07 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005377/0.4998, allocations: 0.615 MB / 1.017 GB, free: 5.203 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-05/0.4998, allocations: 19.94 kB / 1.017 GB, free: 5.184 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003371/0.5032, allocations: 1.231 MB / 1.018 GB, free: 3.945 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003373/0.5066, allocations: 0.7292 MB / 1.019 GB, free: 3.215 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01477/0.5214, allocations: 10.54 MB / 1.029 GB, free: 8.402 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003469/0.5249, allocations: 451.1 kB / 1.029 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003698/0.5253, allocations: 115.9 kB / 1.029 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5253, allocations: 4 kB / 1.029 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01261/0.538, allocations: 5.228 MB / 1.035 GB, free: 2.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.215e-05/0.5381, allocations: 20 kB / 1.035 GB, free: 2.586 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002613/0.5407, allocations: 0.97 MB / 1.036 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003473/0.5442, allocations: 0.737 MB / 1.036 GB, free: 0.8711 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01522/0.5594, allocations: 10.38 MB / 1.046 GB, free: 6.219 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003278/0.5628, allocations: 439.2 kB / 1.047 GB, free: 5.789 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003439/0.5631, allocations: 112 kB / 1.047 GB, free: 5.68 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 (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.002214/0.5654, allocations: 1.273 MB / 1.048 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004066/0.5658, allocations: 130.5 kB / 1.048 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4781/1.044, allocations: 4.953 MB / 1.053 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/1.044, allocations: 22.55 kB / 1.053 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/1.044, allocations: 12.31 kB / 1.053 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/1.044, allocations: 11.69 kB / 1.053 GB, free: 136.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01848/1.063, allocations: 8.933 MB / 1.062 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.373e-05/1.063, allocations: 7.375 kB / 1.062 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00278/1.065, allocations: 0.5318 MB / 1.062 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003089/1.069, allocations: 0.9727 MB / 1.063 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002881/1.069, allocations: 54.28 kB / 1.063 GB, free: 135.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01347/1.082, allocations: 9.961 MB / 1.073 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/1.082, allocations: 15.05 kB / 1.073 GB, free: 133 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01083/1.093, allocations: 4.756 MB / 1.078 GB, free: 131.2 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001049/1.094, allocations: 0.5157 MB / 1.078 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002326/1.095, allocations: 38.83 kB / 1.078 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002424/1.097, allocations: 400.5 kB / 1.079 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/1.097, allocations: 157.5 kB / 1.079 GB, free: 130.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.098, allocations: 70.94 kB / 1.079 GB, free: 130.9 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008248/1.098, allocations: 0.6874 MB / 1.08 GB, free: 130.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.61e-07/1.098, allocations: 2.406 kB / 1.08 GB, free: 130.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.003462/1.102, allocations: 1.178 MB / 1.081 GB, free: 130.5 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 (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,(6,83.3%) 30} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01129/1.113, allocations: 5.348 MB / 1.086 GB, free: 128 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01657/1.13, allocations: 8.026 MB / 1.094 GB, free: 123.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.13, allocations: 0 / 1.094 GB, free: 123.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00533/1.135, allocations: 2.626 MB / 1.096 GB, free: 121.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001539/1.137, allocations: 176.4 kB / 1.097 GB, free: 121.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03686/1.174, allocations: 18.21 MB / 1.114 GB, free: 102.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/1.175, allocations: 2.306 MB / 1.117 GB, free: 100.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003521/1.179, allocations: 1.23 MB / 1.118 GB, free: 99.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.18, allocations: 0.8624 MB / 1.119 GB, free: 98.42 MB / 0.698 GB Notification: Performance of SimCode: time 9.62e-07/1.18, allocations: 0 / 1.119 GB, free: 98.42 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06646/1.246, allocations: 51.62 MB / 1.169 GB, free: 47.14 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/1.247, allocations: 255.6 kB / 1.169 GB, free: 46.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.198/4.445, allocations: 6.297 kB / 1.169 GB, free: 46.79 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepUpYD.fmu > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepUpYD.pipe 2>&1)