Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.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.TransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",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.476/2.476, allocations: 390.3 MB / 402.8 MB, free: 6.68 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.001338/0.001338, allocations: 176.9 kB / 496.1 MB, free: 12.85 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.633/1.633, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.0009895/0.0009895, allocations: 91.97 kB / 0.9317 GB, free: 5.68 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.313e-05/4.316e-05, allocations: 6.969 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3233/0.3234, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.154/1.477, allocations: 204.7 MB / 1.419 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003719/1.478, allocations: 98.73 kB / 1.419 GB, free: 15.77 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.316/1.794, allocations: 128.7 MB / 1.544 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.774e-06/1.794, allocations: 0 / 1.544 GB, free: 3.914 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001727/1.794, allocations: 63.98 kB / 1.545 GB, free: 3.852 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 792 * Number of variables: 792 Notification: Performance of Generate backend data structure: time 0.009182/1.803, allocations: 2.428 MB / 1.547 GB, free: 1.367 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/1.803, allocations: 16.03 kB / 1.547 GB, free: 1.352 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002332/1.806, allocations: 454.2 kB / 1.547 GB, free: 0.8945 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01359/1.819, allocations: 2.052 MB / 1.549 GB, free: 14.84 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005538/1.825, allocations: 1.79 MB / 1.551 GB, free: 13 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002829/1.825, allocations: 225.8 kB / 1.551 GB, free: 12.78 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/1.827, allocations: 288 kB / 1.552 GB, free: 12.5 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01573/1.843, allocations: 4.944 MB / 1.556 GB, free: 7.48 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000151/1.843, allocations: 7.938 kB / 1.556 GB, free: 7.473 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001358/1.844, allocations: 116 kB / 1.557 GB, free: 7.359 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005627/1.845, allocations: 250 kB / 1.557 GB, free: 7.113 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/1.857, allocations: 4.666 MB / 1.561 GB, free: 2.438 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03612/1.893, allocations: 22.43 MB / 1.583 GB, free: 10.04 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003169/1.896, allocations: 2.047 MB / 1.585 GB, free: 7.926 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001933/1.898, allocations: 1.234 MB / 1.586 GB, free: 6.691 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001968/1.899, allocations: 118 kB / 1.587 GB, free: 6.559 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/1.899, allocations: 43.56 kB / 1.587 GB, free: 6.508 MB / 1.042 GB Notification: Performance of pre-optimization done (n=122): time 2.595e-06/1.899, allocations: 0 / 1.587 GB, free: 6.508 MB / 1.042 GB Notification: Performance of matching and sorting (n=173): time 0.04154/1.94, allocations: 11.24 MB / 1.598 GB, free: 11.24 MB / 1.057 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.89e-05/1.94, allocations: 73.41 kB / 1.598 GB, free: 11.16 MB / 1.057 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001797/1.942, allocations: 1.025 MB / 1.599 GB, free: 10.11 MB / 1.057 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/1.942, allocations: 53.7 kB / 1.599 GB, free: 10.05 MB / 1.057 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009633/1.943, allocations: 1.262 MB / 1.6 GB, free: 8.77 MB / 1.057 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006786/1.944, allocations: 0.5931 MB / 1.601 GB, free: 8.168 MB / 1.057 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/1.944, allocations: 48 kB / 1.601 GB, free: 8.121 MB / 1.057 GB Notification: Performance of setup shared object (initialization): time 0.0002882/1.945, allocations: 447.5 kB / 1.601 GB, free: 7.676 MB / 1.057 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002442/1.947, allocations: 1.508 MB / 1.602 GB, free: 6.164 MB / 1.057 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002916/1.95, allocations: 2.227 MB / 1.605 GB, free: 3.613 MB / 1.057 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002738/1.953, allocations: 1.872 MB / 1.606 GB, free: 1.742 MB / 1.057 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.114e-05/1.953, allocations: 4 kB / 1.606 GB, free: 1.738 MB / 1.057 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.009737/1.962, allocations: 5.158 MB / 1.611 GB, free: 12.55 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.004197/1.967, allocations: 8.883 MB / 1.62 GB, free: 2.977 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.793e-05/1.967, allocations: 20 kB / 1.62 GB, free: 2.957 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004433/1.971, allocations: 1.382 MB / 1.622 GB, free: 1.555 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/1.975, allocations: 0.7604 MB / 1.622 GB, free: 0.793 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02341/1.999, allocations: 17.12 MB / 1.639 GB, free: 14.86 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004136/2.003, allocations: 491 kB / 1.639 GB, free: 14.38 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007364/2.003, allocations: 123.9 kB / 1.64 GB, free: 14.26 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/2.003, allocations: 4 kB / 1.64 GB, free: 14.26 MB / 1.104 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01115/2.015, allocations: 5.005 MB / 1.644 GB, free: 9.23 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001028/2.015, allocations: 24 kB / 1.645 GB, free: 9.207 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004008/2.019, allocations: 1.352 MB / 1.646 GB, free: 7.836 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004014/2.023, allocations: 0.7643 MB / 1.647 GB, free: 7.07 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02255/2.045, allocations: 16.93 MB / 1.663 GB, free: 5.328 MB / 1.12 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004142/2.05, allocations: 471.2 kB / 1.664 GB, free: 4.867 MB / 1.12 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008087/2.05, allocations: 123.9 kB / 1.664 GB, free: 4.746 MB / 1.12 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (235): * Single equations (assignments): 229 * 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%) 10,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10,(3,100.0%) 9,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00122/2.052, allocations: 240.2 kB / 1.664 GB, free: 4.504 MB / 1.12 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006087/2.052, allocations: 138.4 kB / 1.664 GB, free: 4.367 MB / 1.12 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01072/2.063, allocations: 4.772 MB / 1.669 GB, free: 15.54 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-05/2.063, allocations: 16 kB / 1.669 GB, free: 15.52 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.161e-05/2.063, allocations: 12 kB / 1.669 GB, free: 15.51 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.171e-05/2.063, allocations: 7.969 kB / 1.669 GB, free: 15.5 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02185/2.085, allocations: 8.586 MB / 1.677 GB, free: 6.691 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.76e-05/2.085, allocations: 8 kB / 1.677 GB, free: 6.684 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002822/2.088, allocations: 0.5226 MB / 1.678 GB, free: 6.16 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003891/2.092, allocations: 1.18 MB / 1.679 GB, free: 4.961 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003791/2.092, allocations: 51.97 kB / 1.679 GB, free: 4.91 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02514/2.117, allocations: 16.45 MB / 1.695 GB, free: 3.652 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.778e-05/2.118, allocations: 11.94 kB / 1.695 GB, free: 3.641 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.8717/2.989, allocations: 4.352 MB / 1.699 GB, free: 328.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/2.991, allocations: 0.5533 MB / 1.7 GB, free: 328.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002699/2.991, allocations: 34.45 kB / 1.7 GB, free: 328.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002938/2.994, allocations: 440.5 kB / 1.7 GB, free: 328.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005496/2.995, allocations: 150.4 kB / 1.7 GB, free: 328.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002083/2.995, allocations: 65.5 kB / 1.7 GB, free: 328.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001619/2.997, allocations: 0.7932 MB / 1.701 GB, free: 328.6 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.4e-07/2.997, allocations: 0 / 1.701 GB, free: 328.6 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.006252/3.003, allocations: 1.324 MB / 1.702 GB, free: 328.6 MB / 1.151 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 (104): * Single equations (assignments): 98 * 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%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10,(2,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.008662/3.012, allocations: 6.823 MB / 1.709 GB, free: 325.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.01663/3.028, allocations: 8.01 MB / 1.717 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.6e-05/3.028, allocations: 1.594 kB / 1.717 GB, free: 324 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00572/3.034, allocations: 2.79 MB / 1.72 GB, free: 323.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001404/3.036, allocations: 197.9 kB / 1.72 GB, free: 323.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02542/3.061, allocations: 7.113 MB / 1.727 GB, free: 322.2 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004184/3.065, allocations: 2.43 MB / 1.729 GB, free: 321.4 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005609/3.071, allocations: 1.291 MB / 1.73 GB, free: 321.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001919/3.073, allocations: 0.9047 MB / 1.731 GB, free: 321.4 MB / 1.151 GB Notification: Performance of SimCode: time 1.623e-06/3.073, allocations: 1.688 kB / 1.731 GB, free: 321.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/3.183, allocations: 61.4 MB / 1.791 GB, free: 319.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/3.184, allocations: 206.5 kB / 1.791 GB, free: 319.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.035/7.219, allocations: 1.406 kB / 1.791 GB, free: 319.1 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat does not exist to compare? outputFormat=mat