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.518/2.518, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001444/0.001445, allocations: 183.1 kB / 492.3 MB, free: 0.6094 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.68/1.68, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.000997/0.0009971, allocations: 97.98 kB / 0.9267 GB, free: 14.01 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.136e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3276/0.3277, allocations: 142.3 MB / 1.212 GB, free: 38.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9724/1.3, allocations: 196.1 MB / 1.404 GB, free: 4.188 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/1.3, allocations: 93 kB / 1.404 GB, free: 4.137 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1258/1.426, allocations: 51.42 MB / 1.454 GB, free: 8.379 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.689e-06/1.426, allocations: 3.984 kB / 1.454 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.685e-05/1.426, allocations: 12 kB / 1.454 GB, free: 8.363 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.002809/1.429, allocations: 0.9817 MB / 1.455 GB, free: 7.387 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.429, allocations: 12.03 kB / 1.455 GB, free: 7.375 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003494/1.43, allocations: 112.3 kB / 1.455 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/1.44, allocations: 1.628 MB / 1.457 GB, free: 5.664 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001602/1.441, allocations: 0.6182 MB / 1.458 GB, free: 5.098 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.242e-05/1.442, allocations: 47.02 kB / 1.458 GB, free: 5.066 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002991/1.442, allocations: 64.42 kB / 1.458 GB, free: 5.02 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002512/1.444, allocations: 1.435 MB / 1.459 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/1.444, allocations: 0 / 1.459 GB, free: 3.879 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000137/1.445, allocations: 30.22 kB / 1.459 GB, free: 3.863 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003621/1.445, allocations: 147.9 kB / 1.459 GB, free: 3.723 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002689/1.448, allocations: 1.63 MB / 1.461 GB, free: 2.586 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01051/1.458, allocations: 6.678 MB / 1.467 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00155/1.46, allocations: 0.9166 MB / 1.468 GB, free: 11.92 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008202/1.461, allocations: 0.5735 MB / 1.469 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002198/1.463, allocations: 1.485 MB / 1.47 GB, free: 10.27 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.247e-05/1.463, allocations: 42.44 kB / 1.47 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=73): time 2.605e-06/1.463, allocations: 4 kB / 1.47 GB, free: 10.22 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107): time 0.01758/1.48, allocations: 5.648 MB / 1.476 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/1.481, allocations: 90.11 kB / 1.476 GB, free: 5.398 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008493/1.481, allocations: 0.5121 MB / 1.476 GB, free: 4.988 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.000154/1.482, allocations: 40.83 kB / 1.476 GB, free: 4.953 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/1.482, allocations: 408.3 kB / 1.477 GB, free: 4.633 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003805/1.482, allocations: 373.5 kB / 1.477 GB, free: 4.312 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/1.482, allocations: 21.56 kB / 1.477 GB, free: 4.309 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001672/1.483, allocations: 394.5 kB / 1.478 GB, free: 3.949 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/1.484, allocations: 0.7515 MB / 1.478 GB, free: 3.469 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/1.485, allocations: 1.089 MB / 1.479 GB, free: 2.535 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/1.486, allocations: 0.8641 MB / 1.48 GB, free: 1.957 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/1.486, allocations: 4 kB / 1.48 GB, free: 1.953 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006435/1.493, allocations: 3.021 MB / 1.483 GB, free: 15.64 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 0.001324/1.494, allocations: 3.924 MB / 1.487 GB, free: 11.48 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.724e-05/1.494, allocations: 12 kB / 1.487 GB, free: 11.46 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004169/1.498, allocations: 1.188 MB / 1.488 GB, free: 10.42 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002179/1.501, allocations: 454.3 kB / 1.489 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/1.512, allocations: 8.987 MB / 1.497 GB, free: 1.809 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002385/1.514, allocations: 307.4 kB / 1.498 GB, free: 1.508 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/1.514, allocations: 64.53 kB / 1.498 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/1.514, allocations: 4.062 kB / 1.498 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006153/1.521, allocations: 2.734 MB / 1.5 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.55e-05/1.521, allocations: 12 kB / 1.5 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003172/1.524, allocations: 0.9634 MB / 1.501 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/1.526, allocations: 471.2 kB / 1.502 GB, free: 13.24 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01256/1.539, allocations: 10.07 MB / 1.512 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002519/1.541, allocations: 299.5 kB / 1.512 GB, free: 2.336 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003505/1.542, allocations: 64.03 kB / 1.512 GB, free: 2.273 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.0005634/1.542, allocations: 184.6 kB / 1.512 GB, free: 2.086 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003312/1.543, allocations: 90.95 kB / 1.512 GB, free: 1.996 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007113/1.55, allocations: 2.935 MB / 1.515 GB, free: 15.04 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.55, allocations: 12 kB / 1.515 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.961e-05/1.55, allocations: 4 kB / 1.515 GB, free: 15.02 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.893e-05/1.55, allocations: 7.969 kB / 1.515 GB, free: 15.01 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009832/1.56, allocations: 4.682 MB / 1.52 GB, free: 10.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.56, allocations: 8.688 kB / 1.52 GB, free: 10.19 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001769/1.561, allocations: 359.4 kB / 1.52 GB, free: 9.836 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003753/1.565, allocations: 1.104 MB / 1.521 GB, free: 8.719 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002005/1.565, allocations: 39.92 kB / 1.521 GB, free: 8.68 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.014/1.579, allocations: 10.48 MB / 1.531 GB, free: 13.66 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/1.58, allocations: 4 kB / 1.531 GB, free: 13.65 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006823/1.586, allocations: 3.113 MB / 1.535 GB, free: 10.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001005/1.587, allocations: 351.8 kB / 1.535 GB, free: 9.938 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003078/1.588, allocations: 23.94 kB / 1.535 GB, free: 9.914 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/1.59, allocations: 319.4 kB / 1.535 GB, free: 9.602 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004291/1.591, allocations: 108.1 kB / 1.535 GB, free: 9.496 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.591, allocations: 47.97 kB / 1.535 GB, free: 9.449 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006445/1.591, allocations: 397.5 kB / 1.536 GB, free: 9.062 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.21e-07/1.591, allocations: 0 / 1.536 GB, free: 9.062 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002923/1.594, allocations: 0.6015 MB / 1.536 GB, free: 8.461 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.007282/1.602, allocations: 5.298 MB / 1.541 GB, free: 2.961 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00879/1.61, allocations: 4.353 MB / 1.546 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.61, allocations: 0 / 1.546 GB, free: 14.52 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.003295/1.614, allocations: 1.694 MB / 1.547 GB, free: 12.77 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001116/1.615, allocations: 136.3 kB / 1.548 GB, free: 12.64 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/1.625, allocations: 3.019 MB / 1.55 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009765/1.626, allocations: 1.119 MB / 1.552 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002528/1.629, allocations: 0.5617 MB / 1.552 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006529/1.63, allocations: 295.3 kB / 1.552 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of SimCode: time 1.573e-06/1.63, allocations: 0 / 1.552 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06687/1.696, allocations: 32.83 MB / 1.584 GB, free: 7.035 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001954/1.697, allocations: 211.5 kB / 1.585 GB, free: 6.816 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.998/4.695, allocations: 0 / 1.585 GB, free: 6.816 MB / 0.9948 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