Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.284/2.284, allocations: 390.5 MB / 398 MB, free: 10.94 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 191.7 kB / 491.2 MB, free: 1.535 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 221.5 MB / 0.7868 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 91.88 kB / 0.9269 GB, free: 13.71 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.027e-05/2.028e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3304/0.3304, allocations: 143 MB / 1.212 GB, free: 39.37 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.076/1.407, allocations: 199.2 MB / 1.407 GB, free: 1.191 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/1.407, allocations: 93.81 kB / 1.407 GB, free: 1.141 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.281/1.688, allocations: 109.2 MB / 1.514 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.182e-06/1.688, allocations: 0 / 1.514 GB, free: 2.539 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0001784/1.688, allocations: 59.98 kB / 1.514 GB, free: 2.48 MB / 0.9167 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.009579/1.698, allocations: 2.341 MB / 1.516 GB, free: 84 kB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 6.479e-05/1.698, allocations: 12.03 kB / 1.516 GB, free: 72 kB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01283/1.711, allocations: 1.896 MB / 1.518 GB, free: 14.17 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005644/1.717, allocations: 1.658 MB / 1.52 GB, free: 12.47 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/1.717, allocations: 92 kB / 1.52 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001835/1.719, allocations: 160 kB / 1.52 GB, free: 12.22 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01138/1.73, allocations: 3.947 MB / 1.524 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/1.745, allocations: 4.312 MB / 1.528 GB, free: 3.867 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000155/1.746, allocations: 3.953 kB / 1.528 GB, free: 3.863 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00138/1.747, allocations: 4 kB / 1.528 GB, free: 3.859 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004443/1.747, allocations: 192.8 kB / 1.528 GB, free: 3.668 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03459/1.782, allocations: 21.81 MB / 1.549 GB, free: 11.84 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/1.786, allocations: 2.486 MB / 1.552 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002383/1.789, allocations: 1.325 MB / 1.553 GB, free: 7.84 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00029/1.789, allocations: 118.4 kB / 1.553 GB, free: 7.707 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.063e-05/1.789, allocations: 59.77 kB / 1.553 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=132): time 4.579e-06/1.789, allocations: 0 / 1.553 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of matching and sorting (n=174): time 0.01736/1.806, allocations: 7.72 MB / 1.561 GB, free: 15.88 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/1.806, allocations: 226.9 kB / 1.561 GB, free: 15.61 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/1.808, allocations: 0.8079 MB / 1.562 GB, free: 14.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003779/1.808, allocations: 29.73 kB / 1.562 GB, free: 14.77 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008586/1.809, allocations: 1.154 MB / 1.563 GB, free: 13.59 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008871/1.81, allocations: 0.5658 MB / 1.563 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002239/1.81, allocations: 0 / 1.563 GB, free: 13.02 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0003878/1.811, allocations: 431.2 kB / 1.564 GB, free: 12.59 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00251/1.813, allocations: 1.328 MB / 1.565 GB, free: 11.26 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002879/1.816, allocations: 1.892 MB / 1.567 GB, free: 9.113 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004858/1.821, allocations: 1.977 MB / 1.569 GB, free: 7.141 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.739e-05/1.821, allocations: 7.938 kB / 1.569 GB, free: 7.133 MB / 0.9792 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01057/1.832, allocations: 4.487 MB / 1.573 GB, free: 2.629 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.003086/1.835, allocations: 6.884 MB / 1.58 GB, free: 11.21 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/1.835, allocations: 16 kB / 1.58 GB, free: 11.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002652/1.837, allocations: 0.9888 MB / 1.581 GB, free: 10.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003673/1.841, allocations: 0.7332 MB / 1.582 GB, free: 9.465 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01498/1.856, allocations: 10.11 MB / 1.592 GB, free: 15.12 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.86, allocations: 427 kB / 1.592 GB, free: 14.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004092/1.86, allocations: 108 kB / 1.592 GB, free: 14.59 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/1.86, allocations: 4 kB / 1.592 GB, free: 14.59 MB / 1.01 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00823/1.868, allocations: 4.229 MB / 1.596 GB, free: 10.35 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.017e-05/1.869, allocations: 16 kB / 1.596 GB, free: 10.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/1.871, allocations: 0.8449 MB / 1.597 GB, free: 9.484 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003597/1.874, allocations: 0.7331 MB / 1.598 GB, free: 8.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01303/1.887, allocations: 9.622 MB / 1.607 GB, free: 14.89 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/1.891, allocations: 407.1 kB / 1.608 GB, free: 14.49 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000456/1.892, allocations: 112 kB / 1.608 GB, free: 14.38 MB / 1.026 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.0007919/1.892, allocations: 156.4 kB / 1.608 GB, free: 14.22 MB / 1.026 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007101/1.9, allocations: 3.502 MB / 1.611 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004505/1.9, allocations: 130.6 kB / 1.611 GB, free: 10.57 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00783/1.908, allocations: 4.013 MB / 1.615 GB, free: 6.52 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/1.908, allocations: 16 kB / 1.615 GB, free: 6.504 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.798e-05/1.908, allocations: 12 kB / 1.615 GB, free: 6.492 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-05/1.908, allocations: 19.92 kB / 1.615 GB, free: 6.473 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0131/1.921, allocations: 7.342 MB / 1.623 GB, free: 14.96 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/1.921, allocations: 8 kB / 1.623 GB, free: 14.95 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.924, allocations: 0.5272 MB / 1.623 GB, free: 14.43 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0022/1.926, allocations: 0.8607 MB / 1.624 GB, free: 13.56 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002374/1.926, allocations: 27.95 kB / 1.624 GB, free: 13.53 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01301/1.939, allocations: 9.368 MB / 1.633 GB, free: 3.926 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.127e-05/1.939, allocations: 7.938 kB / 1.633 GB, free: 3.918 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00721/1.947, allocations: 4.103 MB / 1.637 GB, free: 15.55 MB / 1.057 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/1.948, allocations: 0.515 MB / 1.638 GB, free: 15.01 MB / 1.057 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003297/1.948, allocations: 12 kB / 1.638 GB, free: 15 MB / 1.057 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002778/1.951, allocations: 375.3 kB / 1.638 GB, free: 14.63 MB / 1.057 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00043/1.951, allocations: 156.8 kB / 1.638 GB, free: 14.48 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001758/1.952, allocations: 67.92 kB / 1.638 GB, free: 14.41 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.001051/1.953, allocations: 0.6279 MB / 1.639 GB, free: 13.79 MB / 1.057 GB Notification: Performance of sort global known variables: time 2.61e-07/1.953, allocations: 0 / 1.639 GB, free: 13.79 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.004337/1.957, allocations: 1.098 MB / 1.64 GB, free: 12.69 MB / 1.057 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.008126/1.965, allocations: 6.532 MB / 1.646 GB, free: 5.945 MB / 1.057 GB Notification: Performance of simCode: created initialization part: time 0.01254/1.978, allocations: 6.19 MB / 1.652 GB, free: 15.71 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 1.239e-05/1.978, allocations: 2.5 kB / 1.652 GB, free: 15.71 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.003869/1.982, allocations: 2.032 MB / 1.654 GB, free: 13.67 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001269/1.983, allocations: 134.4 kB / 1.654 GB, free: 13.54 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01925/2.002, allocations: 6.577 MB / 1.661 GB, free: 6.824 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002534/2.005, allocations: 2.355 MB / 1.663 GB, free: 4.434 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.004252/2.009, allocations: 1.257 MB / 1.664 GB, free: 3.172 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001672/2.011, allocations: 0.8428 MB / 1.665 GB, free: 2.328 MB / 1.073 GB Notification: Performance of SimCode: time 1.092e-06/2.011, allocations: 0 / 1.665 GB, free: 2.328 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09495/2.106, allocations: 50.62 MB / 1.715 GB, free: 15.84 MB / 1.135 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/2.106, allocations: 198.3 kB / 1.715 GB, free: 15.64 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.378/5.484, allocations: 0 / 1.715 GB, free: 15.64 MB / 1.135 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerStepDownYD.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerStepDownYD_res.mat does not exist to compare? outputFormat=mat