Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.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.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.361/2.361, allocations: 390.5 MB / 398 MB, free: 11 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.001376/0.001376, allocations: 168.9 kB / 491.2 MB, free: 1.629 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.814/1.814, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.001026/0.001026, allocations: 106.2 kB / 0.9269 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.077e-05/2.079e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3208, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.354, allocations: 196.3 MB / 1.404 GB, free: 4.242 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002668/1.354, allocations: 95.12 kB / 1.404 GB, free: 4.188 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1244/1.479, allocations: 51.23 MB / 1.454 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.184e-06/1.479, allocations: 0 / 1.454 GB, free: 8.902 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.958e-05/1.479, allocations: 19.98 kB / 1.454 GB, free: 8.883 MB / 0.8698 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.001951/1.481, allocations: 0.9799 MB / 1.455 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/1.481, allocations: 8.031 kB / 1.455 GB, free: 7.902 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009735/1.49, allocations: 1.625 MB / 1.457 GB, free: 6.277 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001473/1.492, allocations: 0.6267 MB / 1.457 GB, free: 5.707 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.09e-05/1.492, allocations: 20 kB / 1.457 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001601/1.492, allocations: 32 kB / 1.457 GB, free: 5.656 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002199/1.494, allocations: 1.307 MB / 1.459 GB, free: 4.738 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00193/1.496, allocations: 1.341 MB / 1.46 GB, free: 3.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/1.496, allocations: 7.938 kB / 1.46 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.496, allocations: 0 / 1.46 GB, free: 3.652 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003525/1.497, allocations: 147.9 kB / 1.46 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00986/1.507, allocations: 6.576 MB / 1.467 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/1.508, allocations: 0.9017 MB / 1.467 GB, free: 12.94 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000688/1.509, allocations: 0.5529 MB / 1.468 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/1.511, allocations: 1.46 MB / 1.469 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/1.511, allocations: 49.38 kB / 1.469 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 3.356e-06/1.511, allocations: 4 kB / 1.469 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.009962/1.521, allocations: 4.206 MB / 1.474 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/1.521, allocations: 86.11 kB / 1.474 GB, free: 7.824 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006517/1.522, allocations: 478.9 kB / 1.474 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000125/1.522, allocations: 25.7 kB / 1.474 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002518/1.522, allocations: 410.7 kB / 1.475 GB, free: 7.102 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/1.522, allocations: 360.7 kB / 1.475 GB, free: 6.789 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.16e-05/1.523, allocations: 4 kB / 1.475 GB, free: 6.785 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001445/1.523, allocations: 391.3 kB / 1.475 GB, free: 6.426 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009201/1.524, allocations: 0.7278 MB / 1.476 GB, free: 5.965 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001116/1.525, allocations: 1.046 MB / 1.477 GB, free: 5.078 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/1.527, allocations: 0.9884 MB / 1.478 GB, free: 4.383 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/1.527, allocations: 4 kB / 1.478 GB, free: 4.379 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006247/1.533, allocations: 2.938 MB / 1.481 GB, free: 2.102 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.001551/1.534, allocations: 3.92 MB / 1.485 GB, free: 13.95 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/1.534, allocations: 15.94 kB / 1.485 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003588/1.538, allocations: 1.007 MB / 1.486 GB, free: 13.07 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002237/1.54, allocations: 458 kB / 1.486 GB, free: 12.62 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/1.551, allocations: 8.693 MB / 1.495 GB, free: 5.195 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002445/1.554, allocations: 291.4 kB / 1.495 GB, free: 4.91 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/1.554, allocations: 62.41 kB / 1.495 GB, free: 4.859 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.968e-06/1.554, allocations: 8.062 kB / 1.495 GB, free: 4.852 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004584/1.559, allocations: 2.276 MB / 1.497 GB, free: 2.602 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.688e-05/1.559, allocations: 12 kB / 1.497 GB, free: 2.59 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/1.56, allocations: 0.5582 MB / 1.498 GB, free: 2.02 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002121/1.562, allocations: 483.2 kB / 1.498 GB, free: 1.547 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008779/1.571, allocations: 8.332 MB / 1.506 GB, free: 8.754 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.574, allocations: 272.3 kB / 1.507 GB, free: 8.488 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.574, allocations: 67.97 kB / 1.507 GB, free: 8.422 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 () * 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.0003993/1.574, allocations: 137.3 kB / 1.507 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006084/1.58, allocations: 2.673 MB / 1.509 GB, free: 5.59 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002604/1.581, allocations: 79.06 kB / 1.509 GB, free: 5.512 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006791/1.587, allocations: 2.931 MB / 1.512 GB, free: 2.547 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.429e-05/1.587, allocations: 15.94 kB / 1.512 GB, free: 2.531 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.567e-05/1.587, allocations: 11.98 kB / 1.512 GB, free: 2.52 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/1.587, allocations: 7.984 kB / 1.512 GB, free: 2.512 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008758/1.596, allocations: 4.584 MB / 1.517 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/1.596, allocations: 4 kB / 1.517 GB, free: 13.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001722/1.598, allocations: 359.4 kB / 1.517 GB, free: 13.45 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003694/1.602, allocations: 1.092 MB / 1.518 GB, free: 12.34 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001363/1.602, allocations: 23.97 kB / 1.518 GB, free: 12.32 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01206/1.614, allocations: 10.12 MB / 1.528 GB, free: 1.734 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.879e-06/1.614, allocations: 11.94 kB / 1.528 GB, free: 1.723 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/1.62, allocations: 3.143 MB / 1.531 GB, free: 14.34 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006694/1.621, allocations: 343.9 kB / 1.532 GB, free: 13.99 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/1.621, allocations: 8 kB / 1.532 GB, free: 13.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/1.623, allocations: 323.4 kB / 1.532 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003138/1.624, allocations: 104.2 kB / 1.532 GB, free: 13.56 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001172/1.624, allocations: 43.91 kB / 1.532 GB, free: 13.52 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0004687/1.624, allocations: 358.9 kB / 1.532 GB, free: 13.17 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.8e-07/1.624, allocations: 0 / 1.532 GB, free: 13.17 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002236/1.626, allocations: 0.5234 MB / 1.533 GB, free: 12.64 MB / 0.948 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 () * 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.008295/1.635, allocations: 5.331 MB / 1.538 GB, free: 7.113 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00794/1.643, allocations: 3.981 MB / 1.542 GB, free: 3.066 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/1.643, allocations: 1.5 kB / 1.542 GB, free: 3.066 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00322/1.646, allocations: 1.626 MB / 1.544 GB, free: 1.402 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009813/1.647, allocations: 114.2 kB / 1.544 GB, free: 1.293 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01002/1.657, allocations: 2.932 MB / 1.547 GB, free: 14.25 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009309/1.658, allocations: 1.115 MB / 1.548 GB, free: 13.1 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002237/1.66, allocations: 0.5576 MB / 1.548 GB, free: 12.54 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005436/1.661, allocations: 287.3 kB / 1.548 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of SimCode: time 8.42e-07/1.661, allocations: 0 / 1.548 GB, free: 12.26 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06434/1.725, allocations: 30.82 MB / 1.579 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002022/1.725, allocations: 183.7 kB / 1.579 GB, free: 13.41 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.044/4.77, allocations: 1.688 kB / 1.579 GB, free: 13.41 MB / 0.9948 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Conversion_Examples_ACACTransformerFull.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull_res.mat does not exist to compare? outputFormat=mat