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.412/1.412, allocations: 249.5 MB / 257 MB, free: 6.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000984/0.0009841, allocations: 187.3 kB / 316.3 MB, free: 3.238 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.426/1.426, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008564/0.0008562, allocations: 84.27 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.826e-05, allocations: 0 / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2128/0.2128, allocations: 106.3 MB / 0.8853 GB, free: 12.12 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8124/1.025, allocations: 181.5 MB / 1.063 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.026, allocations: 97.06 kB / 1.063 GB, free: 6.102 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.2418/1.268, allocations: 101.8 MB / 1.162 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.577e-06/1.268, allocations: 0 / 1.162 GB, free: 9.691 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 9.39e-05/1.268, allocations: 59.94 kB / 1.162 GB, free: 9.633 MB / 0.7761 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.00592/1.274, allocations: 2.337 MB / 1.164 GB, free: 7.238 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.796e-05/1.274, allocations: 8.031 kB / 1.164 GB, free: 7.23 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/1.285, allocations: 1.896 MB / 1.166 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004257/1.289, allocations: 1.658 MB / 1.168 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000121/1.289, allocations: 92 kB / 1.168 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006272/1.29, allocations: 171.9 kB / 1.168 GB, free: 3.363 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008396/1.298, allocations: 3.94 MB / 1.172 GB, free: 15.42 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008272/1.307, allocations: 4.315 MB / 1.176 GB, free: 11.02 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.579e-05/1.307, allocations: 7.938 kB / 1.176 GB, free: 11.01 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/1.307, allocations: 3.953 kB / 1.176 GB, free: 11 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003225/1.307, allocations: 188.8 kB / 1.176 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02782/1.335, allocations: 21.83 MB / 1.198 GB, free: 2.977 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/1.339, allocations: 2.471 MB / 1.2 GB, free: 348 kB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001964/1.341, allocations: 1.317 MB / 1.201 GB, free: 15 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002148/1.341, allocations: 122.4 kB / 1.202 GB, free: 14.86 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/1.341, allocations: 63.89 kB / 1.202 GB, free: 14.79 MB / 0.823 GB Notification: Performance of pre-optimization done (n=132): time 3.807e-06/1.341, allocations: 0 / 1.202 GB, free: 14.79 MB / 0.823 GB Notification: Performance of matching and sorting (n=174): time 0.01469/1.356, allocations: 7.716 MB / 1.209 GB, free: 7.039 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001028/1.356, allocations: 226.9 kB / 1.209 GB, free: 6.77 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/1.357, allocations: 0.8116 MB / 1.21 GB, free: 5.949 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002439/1.357, allocations: 29.64 kB / 1.21 GB, free: 5.914 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006874/1.358, allocations: 1.15 MB / 1.211 GB, free: 4.746 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006578/1.358, allocations: 0.5775 MB / 1.212 GB, free: 4.16 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/1.359, allocations: 0 / 1.212 GB, free: 4.16 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002264/1.359, allocations: 431.2 kB / 1.212 GB, free: 3.73 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001881/1.361, allocations: 1.332 MB / 1.214 GB, free: 2.395 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002178/1.363, allocations: 1.889 MB / 1.215 GB, free: 264 kB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/1.366, allocations: 1.969 MB / 1.217 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.371e-05/1.366, allocations: 7.984 kB / 1.217 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00808/1.375, allocations: 4.495 MB / 1.222 GB, free: 9.777 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.002788/1.377, allocations: 6.882 MB / 1.228 GB, free: 2.355 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.329e-05/1.377, allocations: 20 kB / 1.229 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00245/1.38, allocations: 0.9848 MB / 1.229 GB, free: 1.344 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003556/1.383, allocations: 0.7331 MB / 1.23 GB, free: 0.6094 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/1.397, allocations: 10.1 MB / 1.24 GB, free: 6.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003353/1.401, allocations: 423 kB / 1.24 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003803/1.401, allocations: 115.9 kB / 1.241 GB, free: 5.738 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/1.401, allocations: 4 kB / 1.241 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007675/1.409, allocations: 4.225 MB / 1.245 GB, free: 1.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.394e-05/1.409, allocations: 20 kB / 1.245 GB, free: 1.48 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001875/1.411, allocations: 0.8491 MB / 1.246 GB, free: 0.625 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003382/1.414, allocations: 0.7292 MB / 1.246 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/1.426, allocations: 9.627 MB / 1.256 GB, free: 6.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00322/1.429, allocations: 411.1 kB / 1.256 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004059/1.429, allocations: 108 kB / 1.256 GB, free: 5.523 MB / 0.8698 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.0005519/1.43, allocations: 161 kB / 1.256 GB, free: 5.363 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006637/1.437, allocations: 3.51 MB / 1.26 GB, free: 1.836 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/1.437, allocations: 118.6 kB / 1.26 GB, free: 1.719 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5023/1.939, allocations: 4.009 MB / 1.264 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.987e-05/1.94, allocations: 20.78 kB / 1.264 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.86e-05/1.94, allocations: 16.55 kB / 1.264 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.573e-05/1.94, allocations: 9.906 kB / 1.264 GB, free: 252.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.957, allocations: 7.343 MB / 1.271 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.453e-05/1.957, allocations: 6.469 kB / 1.271 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002916/1.96, allocations: 0.5236 MB / 1.271 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002605/1.962, allocations: 0.857 MB / 1.272 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000214/1.963, allocations: 27.44 kB / 1.272 GB, free: 251.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01284/1.975, allocations: 9.37 MB / 1.281 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.321e-05/1.975, allocations: 8.219 kB / 1.282 GB, free: 249.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0075/1.983, allocations: 4.103 MB / 1.286 GB, free: 248.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.984, allocations: 0.5219 MB / 1.286 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002887/1.984, allocations: 9.891 kB / 1.286 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.987, allocations: 378.5 kB / 1.286 GB, free: 248.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000474/1.988, allocations: 150.5 kB / 1.287 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000171/1.988, allocations: 65.44 kB / 1.287 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001018/1.989, allocations: 0.6255 MB / 1.287 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.5e-07/1.989, allocations: 0 / 1.287 GB, free: 248.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.004766/1.994, allocations: 1.093 MB / 1.288 GB, free: 248.1 MB / 0.8698 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.007436/2.001, allocations: 6.539 MB / 1.295 GB, free: 244.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01148/2.013, allocations: 6.196 MB / 1.301 GB, free: 244 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.334e-05/2.013, allocations: 0 / 1.301 GB, free: 244 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.003722/2.016, allocations: 2.024 MB / 1.303 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001309/2.018, allocations: 127.6 kB / 1.303 GB, free: 243.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01762/2.035, allocations: 6.587 MB / 1.309 GB, free: 242.7 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/2.037, allocations: 2.352 MB / 1.312 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003717/2.041, allocations: 1.263 MB / 1.313 GB, free: 241.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/2.042, allocations: 0.8426 MB / 1.314 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of SimCode: time 7.61e-07/2.042, allocations: 3.062 kB / 1.314 GB, free: 241.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07918/2.122, allocations: 50.64 MB / 1.363 GB, free: 236.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001799/2.122, allocations: 200.8 kB / 1.363 GB, free: 236.6 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.903/5.024, allocations: 0 / 1.363 GB, free: 236.6 MB / 0.8698 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)