Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",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.358/2.358, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001385/0.001385, allocations: 173.9 kB / 498.1 MB, free: 5.746 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.805/1.805, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.00103/0.00103, allocations: 94.95 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.000383, allocations: 6.875 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2917/0.2921, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2305/0.5227, allocations: 196.2 MB / 1.415 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004347/0.5232, allocations: 91.94 kB / 1.415 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 0.7018/1.225, allocations: 51.71 MB / 1.465 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.796e-06/1.225, allocations: 0 / 1.465 GB, free: 185.6 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 6.78e-05/1.225, allocations: 24.47 kB / 1.465 GB, free: 185.6 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: 184 * Number of variables: 184 Notification: Performance of Generate backend data structure: time 0.002945/1.228, allocations: 1.063 MB / 1.466 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/1.228, allocations: 7.281 kB / 1.466 GB, free: 184.8 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003634/1.229, allocations: 114.8 kB / 1.466 GB, free: 184.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009239/1.238, allocations: 1.625 MB / 1.468 GB, free: 184 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001798/1.24, allocations: 0.623 MB / 1.468 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.409e-05/1.24, allocations: 44.53 kB / 1.469 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004003/1.24, allocations: 65.84 kB / 1.469 GB, free: 183.4 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005278/1.245, allocations: 1.922 MB / 1.47 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.853e-05/1.246, allocations: 4 kB / 1.47 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/1.246, allocations: 27.86 kB / 1.47 GB, free: 182 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003033/1.246, allocations: 141.4 kB / 1.471 GB, free: 181.8 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007099/1.253, allocations: 2.616 MB / 1.473 GB, free: 179.2 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009998/1.263, allocations: 6.69 MB / 1.48 GB, free: 172.2 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/1.266, allocations: 1.253 MB / 1.481 GB, free: 170.9 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002142/1.268, allocations: 1.491 MB / 1.482 GB, free: 169.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/1.268, allocations: 42.42 kB / 1.482 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=73): time 2.365e-06/1.268, allocations: 4 kB / 1.482 GB, free: 169.3 MB / 0.9167 GB Notification: Performance of matching and sorting (n=107): time 0.02584/1.294, allocations: 8.032 MB / 1.49 GB, free: 161.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.294, allocations: 90.11 kB / 1.49 GB, free: 161.1 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007491/1.295, allocations: 0.5098 MB / 1.491 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001573/1.295, allocations: 41.7 kB / 1.491 GB, free: 160.6 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002253/1.296, allocations: 418.9 kB / 1.491 GB, free: 160.2 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003749/1.296, allocations: 374.5 kB / 1.492 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.296, allocations: 24 kB / 1.492 GB, free: 159.8 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001327/1.296, allocations: 390.8 kB / 1.492 GB, free: 159.4 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002711/1.299, allocations: 1.111 MB / 1.493 GB, free: 158.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002856/1.302, allocations: 1.435 MB / 1.495 GB, free: 156.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002859/1.305, allocations: 1.222 MB / 1.496 GB, free: 155.5 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/1.305, allocations: 4 kB / 1.496 GB, free: 155.5 MB / 0.9167 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.0098/1.315, allocations: 3.765 MB / 1.499 GB, free: 151.7 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007294/1.315, allocations: 3.923 MB / 1.503 GB, free: 147.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/1.315, allocations: 12 kB / 1.503 GB, free: 147.4 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004782/1.32, allocations: 1.263 MB / 1.505 GB, free: 146.2 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/1.322, allocations: 455.3 kB / 1.505 GB, free: 145.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009658/1.332, allocations: 9.272 MB / 1.514 GB, free: 136 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/1.334, allocations: 315.4 kB / 1.514 GB, free: 135.7 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002868/1.335, allocations: 68.08 kB / 1.514 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/1.335, allocations: 5.031 kB / 1.514 GB, free: 135.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00907/1.344, allocations: 3.479 MB / 1.518 GB, free: 132.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.839e-05/1.344, allocations: 8.5 kB / 1.518 GB, free: 132.1 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003509/1.347, allocations: 1.022 MB / 1.519 GB, free: 131.1 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002115/1.35, allocations: 479.2 kB / 1.519 GB, free: 130.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01025/1.36, allocations: 10.39 MB / 1.529 GB, free: 119.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/1.362, allocations: 303.5 kB / 1.53 GB, free: 119.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002741/1.362, allocations: 65 kB / 1.53 GB, free: 119.4 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 118 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 9} * Non-linear torn systems: 1 {3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007736/1.363, allocations: 392.9 kB / 1.53 GB, free: 119 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002624/1.364, allocations: 82.97 kB / 1.53 GB, free: 118.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009601/1.373, allocations: 3.68 MB / 1.534 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/1.373, allocations: 8 kB / 1.534 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/1.373, allocations: 8 kB / 1.534 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/1.373, allocations: 7.969 kB / 1.534 GB, free: 115.2 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/1.385, allocations: 5.419 MB / 1.539 GB, free: 109.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-05/1.385, allocations: 4 kB / 1.539 GB, free: 109.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001604/1.387, allocations: 363.4 kB / 1.539 GB, free: 109.2 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00426/1.391, allocations: 1.174 MB / 1.541 GB, free: 108.1 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001989/1.391, allocations: 43.97 kB / 1.541 GB, free: 108 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01174/1.403, allocations: 10.85 MB / 1.551 GB, free: 96.65 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/1.403, allocations: 7.938 kB / 1.551 GB, free: 96.64 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009463/1.413, allocations: 3.862 MB / 1.555 GB, free: 92.54 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009081/1.414, allocations: 347.9 kB / 1.555 GB, free: 92.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/1.414, allocations: 23.98 kB / 1.555 GB, free: 92.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002011/1.416, allocations: 319.4 kB / 1.556 GB, free: 91.84 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003146/1.416, allocations: 96.39 kB / 1.556 GB, free: 91.75 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/1.416, allocations: 51.92 kB / 1.556 GB, free: 91.7 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005242/1.417, allocations: 398.8 kB / 1.556 GB, free: 91.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.71e-07/1.417, allocations: 4 kB / 1.556 GB, free: 91.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00245/1.419, allocations: 0.6093 MB / 1.557 GB, free: 90.69 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 64 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 9,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 1 {3 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.009505/1.429, allocations: 6.037 MB / 1.563 GB, free: 84.46 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0126/1.441, allocations: 5.424 MB / 1.568 GB, free: 78.95 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.357e-05/1.441, allocations: 0 / 1.568 GB, free: 78.95 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.004582/1.446, allocations: 2.061 MB / 1.57 GB, free: 76.84 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/1.447, allocations: 133.2 kB / 1.57 GB, free: 76.71 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02638/1.474, allocations: 17.09 MB / 1.587 GB, free: 59.22 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007881/1.475, allocations: 1.123 MB / 1.588 GB, free: 58.07 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002003/1.477, allocations: 0.546 MB / 1.588 GB, free: 57.52 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005461/1.477, allocations: 296 kB / 1.589 GB, free: 57.23 MB / 0.9167 GB Notification: Performance of SimCode: time 1.423e-06/1.477, allocations: 0 / 1.589 GB, free: 57.23 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05582/1.533, allocations: 32.13 MB / 1.62 GB, free: 25.47 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/1.533, allocations: 242.8 kB / 1.62 GB, free: 25.16 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/4.387, allocations: 2.672 kB / 1.62 GB, free: 25.16 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat