Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.326/2.326, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001366/0.001366, allocations: 172.9 kB / 492.3 MB, free: 0.6289 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.485/1.485, allocations: 221.3 MB / 0.7871 GB, free: 12.91 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.0009038/0.0009038, allocations: 89.84 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.692e-05/3.694e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2879/0.288, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.406, allocations: 203.9 MB / 1.412 GB, free: 12.44 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003439/1.407, allocations: 95.94 kB / 1.412 GB, free: 12.39 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 0.3167/1.724, allocations: 128.7 MB / 1.537 GB, free: 9.773 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.493e-06/1.724, allocations: 4 kB / 1.537 GB, free: 9.77 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001384/1.724, allocations: 60 kB / 1.537 GB, free: 9.711 MB / 0.948 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.007586/1.731, allocations: 2.435 MB / 1.54 GB, free: 7.219 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/1.731, allocations: 12.03 kB / 1.54 GB, free: 7.207 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001885/1.733, allocations: 450.1 kB / 1.54 GB, free: 6.754 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01312/1.746, allocations: 2.056 MB / 1.542 GB, free: 4.691 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005473/1.752, allocations: 1.79 MB / 1.544 GB, free: 2.852 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002573/1.752, allocations: 225.8 kB / 1.544 GB, free: 2.629 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001561/1.754, allocations: 283.9 kB / 1.544 GB, free: 2.352 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01531/1.769, allocations: 4.944 MB / 1.549 GB, free: 13.34 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001312/1.769, allocations: 11.92 kB / 1.549 GB, free: 13.32 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001166/1.77, allocations: 120 kB / 1.549 GB, free: 13.21 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005387/1.771, allocations: 254 kB / 1.55 GB, free: 12.96 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01324/1.784, allocations: 4.663 MB / 1.554 GB, free: 8.285 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03941/1.824, allocations: 22.43 MB / 1.576 GB, free: 15.88 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00356/1.827, allocations: 2.044 MB / 1.578 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/1.83, allocations: 1.222 MB / 1.579 GB, free: 12.55 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002302/1.83, allocations: 122 kB / 1.579 GB, free: 12.42 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/1.83, allocations: 43.56 kB / 1.579 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=122): time 3.126e-06/1.83, allocations: 0 / 1.579 GB, free: 12.37 MB / 0.9948 GB Notification: Performance of matching and sorting (n=173): time 0.04222/1.872, allocations: 11.25 MB / 1.59 GB, free: 1.094 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.738e-05/1.872, allocations: 73.41 kB / 1.59 GB, free: 1.012 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/1.875, allocations: 1.021 MB / 1.591 GB, free: 15.96 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0003763/1.875, allocations: 53.7 kB / 1.592 GB, free: 15.91 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.001062/1.876, allocations: 1.266 MB / 1.593 GB, free: 14.62 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009119/1.877, allocations: 0.5931 MB / 1.593 GB, free: 14.02 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003162/1.877, allocations: 44 kB / 1.593 GB, free: 13.98 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0003765/1.878, allocations: 451.5 kB / 1.594 GB, free: 13.53 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002974/1.881, allocations: 1.508 MB / 1.595 GB, free: 12.02 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003514/1.884, allocations: 2.223 MB / 1.597 GB, free: 9.469 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003437/1.888, allocations: 1.872 MB / 1.599 GB, free: 7.602 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/1.888, allocations: 4 kB / 1.599 GB, free: 7.598 MB / 1.01 GB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01107/1.899, allocations: 5.17 MB / 1.604 GB, free: 2.398 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 0.004506/1.903, allocations: 8.877 MB / 1.613 GB, free: 8.824 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.848e-05/1.903, allocations: 24 kB / 1.613 GB, free: 8.801 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004559/1.908, allocations: 1.382 MB / 1.614 GB, free: 7.398 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/1.912, allocations: 0.7643 MB / 1.615 GB, free: 6.633 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02325/1.935, allocations: 17.1 MB / 1.632 GB, free: 4.723 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004427/1.94, allocations: 495 kB / 1.632 GB, free: 4.238 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008764/1.941, allocations: 123.9 kB / 1.632 GB, free: 4.117 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.045e-05/1.941, allocations: 6.344 kB / 1.632 GB, free: 4.113 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0113/1.952, allocations: 5.005 MB / 1.637 GB, free: 15.09 MB / 1.057 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.018e-05/1.952, allocations: 24 kB / 1.637 GB, free: 15.06 MB / 1.057 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00386/1.956, allocations: 1.352 MB / 1.639 GB, free: 13.69 MB / 1.057 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003736/1.96, allocations: 0.7643 MB / 1.639 GB, free: 12.93 MB / 1.057 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0227/1.982, allocations: 16.94 MB / 1.656 GB, free: 11.18 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003948/1.986, allocations: 467.2 kB / 1.656 GB, free: 10.73 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007435/1.987, allocations: 123.9 kB / 1.657 GB, free: 10.61 MB / 1.073 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.001117/1.988, allocations: 248.2 kB / 1.657 GB, free: 10.36 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/1.989, allocations: 134.6 kB / 1.657 GB, free: 10.22 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.999, allocations: 4.772 MB / 1.662 GB, free: 5.398 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.075e-05/1.999, allocations: 19.98 kB / 1.662 GB, free: 5.379 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.284e-05/1.999, allocations: 12 kB / 1.662 GB, free: 5.367 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.386e-05/1.999, allocations: 11.95 kB / 1.662 GB, free: 5.355 MB / 1.073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01754/2.017, allocations: 8.59 MB / 1.67 GB, free: 12.54 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.798e-05/2.017, allocations: 8 kB / 1.67 GB, free: 12.53 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002609/2.019, allocations: 0.5186 MB / 1.67 GB, free: 12.01 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/2.023, allocations: 1.18 MB / 1.672 GB, free: 10.81 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002552/2.023, allocations: 59.92 kB / 1.672 GB, free: 10.75 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02044/2.044, allocations: 16.44 MB / 1.688 GB, free: 9.5 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/2.044, allocations: 11.94 kB / 1.688 GB, free: 9.488 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00807/2.052, allocations: 4.356 MB / 1.692 GB, free: 4.852 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/2.053, allocations: 0.5499 MB / 1.693 GB, free: 4.281 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003334/2.054, allocations: 35.95 kB / 1.693 GB, free: 4.246 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002871/2.056, allocations: 447.1 kB / 1.693 GB, free: 3.809 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004518/2.057, allocations: 145 kB / 1.693 GB, free: 3.668 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001683/2.057, allocations: 67.95 kB / 1.693 GB, free: 3.602 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.001298/2.058, allocations: 0.7939 MB / 1.694 GB, free: 2.793 MB / 1.104 GB Notification: Performance of sort global known variables: time 1.6e-07/2.058, allocations: 0 / 1.694 GB, free: 2.793 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.004933/2.063, allocations: 1.324 MB / 1.695 GB, free: 1.469 MB / 1.104 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.008596/2.072, allocations: 6.822 MB / 1.702 GB, free: 10.41 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 0.01489/2.087, allocations: 8.013 MB / 1.71 GB, free: 2.254 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/2.087, allocations: 4.25 kB / 1.71 GB, free: 2.25 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.005268/2.092, allocations: 2.785 MB / 1.712 GB, free: 15.38 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/2.094, allocations: 198.3 kB / 1.713 GB, free: 15.19 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02129/2.115, allocations: 7.125 MB / 1.72 GB, free: 7.914 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002537/2.118, allocations: 2.427 MB / 1.722 GB, free: 5.453 MB / 1.135 GB Notification: Performance of simCode: alias equations: time 0.004034/2.122, allocations: 1.289 MB / 1.723 GB, free: 4.156 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001323/2.123, allocations: 0.9053 MB / 1.724 GB, free: 3.25 MB / 1.135 GB Notification: Performance of SimCode: time 7.62e-07/2.123, allocations: 0 / 1.724 GB, free: 3.25 MB / 1.135 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7774/2.9, allocations: 61.37 MB / 1.784 GB, free: 331.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001786/2.901, allocations: 211.6 kB / 1.784 GB, free: 331.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.723/6.623, allocations: 2.531 kB / 1.784 GB, free: 331.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Conversion_Examples_TransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Conversion.Examples.TransformerFull_res.mat does not exist to compare? outputFormat=mat