Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.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.Transformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer",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.288/2.288, allocations: 390.3 MB / 402.8 MB, free: 6.715 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.001029/0.001029, allocations: 180.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.611/1.611, allocations: 221.3 MB / 0.7915 GB, free: 5.469 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.0009596/0.0009597, allocations: 95.89 kB / 0.9317 GB, free: 5.777 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.722e-05/4.725e-05, allocations: 5.719 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3218/0.3219, allocations: 143 MB / 1.219 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.151/1.473, allocations: 200.2 MB / 1.414 GB, free: 4.047 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/1.473, allocations: 97.42 kB / 1.414 GB, free: 3.992 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2632/1.737, allocations: 112.5 MB / 1.524 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.118e-06/1.737, allocations: 0 / 1.524 GB, free: 8.727 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 9.661e-05/1.737, allocations: 63.92 kB / 1.524 GB, free: 8.664 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 789 * Number of variables: 789 Notification: Performance of Generate backend data structure: time 0.006733/1.743, allocations: 2.349 MB / 1.527 GB, free: 6.258 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.384e-05/1.743, allocations: 16.03 kB / 1.527 GB, free: 6.242 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00116/1.745, allocations: 454.1 kB / 1.527 GB, free: 5.785 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/1.756, allocations: 1.896 MB / 1.529 GB, free: 3.883 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004622/1.761, allocations: 1.682 MB / 1.531 GB, free: 2.156 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002994/1.761, allocations: 225.9 kB / 1.531 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001482/1.763, allocations: 284 kB / 1.531 GB, free: 1.656 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01416/1.777, allocations: 4.803 MB / 1.536 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001235/1.777, allocations: 3.938 kB / 1.536 GB, free: 12.76 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001261/1.779, allocations: 124 kB / 1.536 GB, free: 12.64 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003793/1.779, allocations: 196.9 kB / 1.536 GB, free: 12.44 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01043/1.789, allocations: 4.369 MB / 1.54 GB, free: 8.062 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03662/1.826, allocations: 22.77 MB / 1.563 GB, free: 15.23 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003688/1.83, allocations: 2.011 MB / 1.565 GB, free: 13.1 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002117/1.832, allocations: 1.164 MB / 1.566 GB, free: 11.92 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002432/1.832, allocations: 114.1 kB / 1.566 GB, free: 11.79 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/1.832, allocations: 51.5 kB / 1.566 GB, free: 11.73 MB / 1.026 GB Notification: Performance of pre-optimization done (n=116): time 3.196e-06/1.832, allocations: 4 kB / 1.566 GB, free: 11.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=146): time 0.02875/1.861, allocations: 8.752 MB / 1.574 GB, free: 2.926 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001453/1.861, allocations: 234.8 kB / 1.575 GB, free: 2.648 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.863, allocations: 0.9371 MB / 1.576 GB, free: 1.699 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 0.0002901/1.863, allocations: 45.7 kB / 1.576 GB, free: 1.648 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009247/1.864, allocations: 1.246 MB / 1.577 GB, free: 392 kB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.00062/1.865, allocations: 0.5046 MB / 1.577 GB, free: 15.87 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/1.865, allocations: 40 kB / 1.577 GB, free: 15.83 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.0002544/1.865, allocations: 423 kB / 1.578 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002031/1.867, allocations: 1.269 MB / 1.579 GB, free: 14.14 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002539/1.87, allocations: 1.944 MB / 1.581 GB, free: 11.88 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002412/1.872, allocations: 1.59 MB / 1.582 GB, free: 10.29 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.43e-05/1.872, allocations: 4 kB / 1.582 GB, free: 10.28 MB / 1.042 GB Notification: Performance of matching and sorting (n=274) (initialization): time 0.007587/1.88, allocations: 4.007 MB / 1.586 GB, free: 6.246 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.004465/1.884, allocations: 8.614 MB / 1.595 GB, free: 12.95 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-05/1.884, allocations: 20 kB / 1.595 GB, free: 12.93 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002386/1.887, allocations: 0.7543 MB / 1.596 GB, free: 12.15 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003969/1.891, allocations: 0.7565 MB / 1.596 GB, free: 11.39 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01611/1.907, allocations: 12.48 MB / 1.608 GB, free: 14.11 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003813/1.911, allocations: 479 kB / 1.609 GB, free: 13.64 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006701/1.911, allocations: 108 kB / 1.609 GB, free: 13.54 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/1.911, allocations: 4 kB / 1.609 GB, free: 13.53 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008943/1.92, allocations: 3.87 MB / 1.613 GB, free: 9.641 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001275/1.92, allocations: 20.28 kB / 1.613 GB, free: 9.621 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002017/1.922, allocations: 0.6919 MB / 1.614 GB, free: 8.91 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003722/1.926, allocations: 0.7643 MB / 1.614 GB, free: 8.145 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01404/1.94, allocations: 12.39 MB / 1.626 GB, free: 10.95 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003587/1.944, allocations: 451.2 kB / 1.627 GB, free: 10.51 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006545/1.945, allocations: 112 kB / 1.627 GB, free: 10.4 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (232): * Single equations (assignments): 226 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001005/1.946, allocations: 237.3 kB / 1.627 GB, free: 10.16 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006412/1.946, allocations: 122.5 kB / 1.627 GB, free: 10.04 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007111/1.953, allocations: 3.376 MB / 1.631 GB, free: 6.621 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.179e-05/1.953, allocations: 16 kB / 1.631 GB, free: 6.605 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.004e-05/1.953, allocations: 11.95 kB / 1.631 GB, free: 6.594 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.951e-05/1.953, allocations: 7.969 kB / 1.631 GB, free: 6.586 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01524/1.969, allocations: 7.192 MB / 1.638 GB, free: 15.18 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-05/1.969, allocations: 8.094 kB / 1.638 GB, free: 15.17 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002702/1.972, allocations: 0.5147 MB / 1.638 GB, free: 14.66 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/1.974, allocations: 0.6455 MB / 1.639 GB, free: 13.99 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002332/1.974, allocations: 51.95 kB / 1.639 GB, free: 13.94 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/1.989, allocations: 12.02 MB / 1.651 GB, free: 1.109 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.066e-05/1.989, allocations: 11.94 kB / 1.651 GB, free: 1.098 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006758/1.996, allocations: 3.525 MB / 1.654 GB, free: 13.29 MB / 1.12 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.997, allocations: 495.4 kB / 1.654 GB, free: 12.79 MB / 1.12 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004788/1.997, allocations: 28 kB / 1.654 GB, free: 12.76 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002827/2, allocations: 395.3 kB / 1.655 GB, free: 12.38 MB / 1.12 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003904/2.001, allocations: 136.7 kB / 1.655 GB, free: 12.24 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/2.001, allocations: 55.95 kB / 1.655 GB, free: 12.18 MB / 1.12 GB Notification: Performance of sorting global known variables: time 0.001527/2.002, allocations: 0.7294 MB / 1.656 GB, free: 11.46 MB / 1.12 GB Notification: Performance of sort global known variables: time 2.1e-07/2.002, allocations: 3.938 kB / 1.656 GB, free: 11.45 MB / 1.12 GB Notification: Performance of remove unused functions: time 0.005424/2.008, allocations: 1.16 MB / 1.657 GB, free: 10.29 MB / 1.12 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): 95 * 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: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007073/2.015, allocations: 5.971 MB / 1.663 GB, free: 4.098 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01296/2.028, allocations: 6.605 MB / 1.669 GB, free: 13.34 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-05/2.028, allocations: 0 / 1.669 GB, free: 13.34 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 0.004134/2.032, allocations: 2.217 MB / 1.671 GB, free: 11.05 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001502/2.034, allocations: 149.4 kB / 1.671 GB, free: 10.91 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02491/2.059, allocations: 6.606 MB / 1.678 GB, free: 4.168 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003537/2.062, allocations: 2.335 MB / 1.68 GB, free: 1.797 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.00467/2.067, allocations: 1.264 MB / 1.681 GB, free: 0.5273 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001861/2.069, allocations: 0.8468 MB / 1.682 GB, free: 15.68 MB / 1.151 GB Notification: Performance of SimCode: time 1.944e-06/2.069, allocations: 0 / 1.682 GB, free: 15.68 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7996/2.868, allocations: 47.6 MB / 1.729 GB, free: 333.2 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/2.869, allocations: 204.9 kB / 1.729 GB, free: 333 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.291/6.159, allocations: 2.234 kB / 1.729 GB, free: 333 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_Transformer.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.Transformer_res.mat does not exist to compare? outputFormat=mat