Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.706/1.706, allocations: 289.9 MB / 297.4 MB, free: 6.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.001005/0.001005, allocations: 180.8 kB / 366.7 MB, free: 1.633 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.492/1.492, allocations: 205.2 MB / 0.626 GB, free: 7.145 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008682/0.0008682, allocations: 95.84 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.805e-05/1.808e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6045/0.6045, allocations: 116.3 MB / 0.9734 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2474/0.852, allocations: 187.8 MB / 1.157 GB, free: 10.3 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004835/0.8525, allocations: 100.8 kB / 1.157 GB, free: 10.2 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 0.2627/1.115, allocations: 101.9 MB / 1.256 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.41e-07/1.115, allocations: 3.938 kB / 1.256 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000157/1.115, allocations: 52 kB / 1.256 GB, free: 3.531 MB / 0.8542 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.00819/1.124, allocations: 2.336 MB / 1.259 GB, free: 1.141 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/1.124, allocations: 12.03 kB / 1.259 GB, free: 1.129 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6119/1.736, allocations: 1.887 MB / 1.26 GB, free: 197.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004351/1.74, allocations: 1.662 MB / 1.262 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001587/1.74, allocations: 93.59 kB / 1.262 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000582/1.741, allocations: 163.3 kB / 1.262 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008343/1.749, allocations: 3.944 MB / 1.266 GB, free: 197.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007564/1.757, allocations: 4.313 MB / 1.27 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.698e-05/1.757, allocations: 4.031 kB / 1.27 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002976/1.757, allocations: 2.312 kB / 1.27 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003784/1.757, allocations: 192.6 kB / 1.271 GB, free: 197 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02778/1.785, allocations: 21.82 MB / 1.292 GB, free: 185.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/1.789, allocations: 2.469 MB / 1.294 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001984/1.791, allocations: 1.327 MB / 1.296 GB, free: 184.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001943/1.791, allocations: 120.6 kB / 1.296 GB, free: 184.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/1.791, allocations: 54.55 kB / 1.296 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=132): time 3.948e-06/1.791, allocations: 1.25 kB / 1.296 GB, free: 184.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=174): time 0.01658/1.808, allocations: 7.717 MB / 1.303 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.518e-05/1.808, allocations: 228 kB / 1.304 GB, free: 181.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/1.809, allocations: 0.8139 MB / 1.304 GB, free: 181 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001639/1.809, allocations: 28.64 kB / 1.304 GB, free: 181 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007614/1.81, allocations: 1.15 MB / 1.306 GB, free: 180.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005974/1.811, allocations: 0.5666 MB / 1.306 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/1.811, allocations: 0 / 1.306 GB, free: 179.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002341/1.811, allocations: 433.6 kB / 1.306 GB, free: 179.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/1.813, allocations: 1.33 MB / 1.308 GB, free: 178.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002368/1.816, allocations: 1.891 MB / 1.31 GB, free: 177.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004063/1.82, allocations: 1.979 MB / 1.312 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.82, allocations: 5.562 kB / 1.312 GB, free: 176.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.008758/1.828, allocations: 4.492 MB / 1.316 GB, free: 175.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.001345/1.83, allocations: 6.877 MB / 1.323 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.92e-05/1.83, allocations: 17.78 kB / 1.323 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00255/1.832, allocations: 0.9872 MB / 1.324 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/1.836, allocations: 0.7355 MB / 1.324 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.848, allocations: 10.1 MB / 1.334 GB, free: 162.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/1.852, allocations: 427.7 kB / 1.335 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002747/1.852, allocations: 109 kB / 1.335 GB, free: 162 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.152e-05/1.852, allocations: 3.938 kB / 1.335 GB, free: 162 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006901/1.859, allocations: 4.231 MB / 1.339 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.629e-05/1.859, allocations: 16.69 kB / 1.339 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/1.861, allocations: 0.8407 MB / 1.34 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00306/1.864, allocations: 0.7323 MB / 1.34 GB, free: 160.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01016/1.874, allocations: 9.636 MB / 1.35 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/1.878, allocations: 414.2 kB / 1.35 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/1.878, allocations: 107.7 kB / 1.35 GB, free: 154.8 MB / 0.8542 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 () * 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 {(4,100.0%) 32,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006724/1.879, allocations: 163.6 kB / 1.35 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006118/1.885, allocations: 3.501 MB / 1.354 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004014/1.885, allocations: 128.9 kB / 1.354 GB, free: 153.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0069/1.892, allocations: 4.015 MB / 1.358 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/1.892, allocations: 15.41 kB / 1.358 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.37e-05/1.892, allocations: 20.66 kB / 1.358 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.996e-05/1.892, allocations: 6.656 kB / 1.358 GB, free: 151.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.904, allocations: 7.34 MB / 1.365 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.469e-05/1.904, allocations: 11.05 kB / 1.365 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00245/1.906, allocations: 0.5288 MB / 1.366 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001979/1.908, allocations: 0.8595 MB / 1.367 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001685/1.908, allocations: 25.31 kB / 1.367 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01037/1.919, allocations: 9.361 MB / 1.376 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/1.919, allocations: 11.69 kB / 1.376 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/1.925, allocations: 4.101 MB / 1.38 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001042/1.926, allocations: 0.5132 MB / 1.38 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002512/1.926, allocations: 19.03 kB / 1.38 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002581/1.929, allocations: 381 kB / 1.381 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003532/1.929, allocations: 150.4 kB / 1.381 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001457/1.929, allocations: 65.11 kB / 1.381 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0008931/1.93, allocations: 0.6217 MB / 1.381 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 2.1e-07/1.93, allocations: 0 / 1.381 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.004701/1.935, allocations: 1.098 MB / 1.382 GB, free: 139.8 MB / 0.8542 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 99 * 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,(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006333/1.941, allocations: 6.542 MB / 1.389 GB, free: 135.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.952, allocations: 6.195 MB / 1.395 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/1.952, allocations: 0 / 1.395 GB, free: 132.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003097/1.955, allocations: 2.027 MB / 1.397 GB, free: 131.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.956, allocations: 119.4 kB / 1.397 GB, free: 131.2 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02024/1.976, allocations: 6.587 MB / 1.403 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002254/1.979, allocations: 2.351 MB / 1.406 GB, free: 123.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.003829/1.982, allocations: 1.256 MB / 1.407 GB, free: 123.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001268/1.984, allocations: 0.8392 MB / 1.408 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of SimCode: time 1.653e-06/1.984, allocations: 0 / 1.408 GB, free: 122.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08348/2.067, allocations: 50.64 MB / 1.457 GB, free: 78.78 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002002/2.067, allocations: 190.3 kB / 1.457 GB, free: 78.58 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.347/5.414, allocations: 0 / 1.457 GB, free: 78.58 MB / 0.8542 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1)