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.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001112/0.001112, allocations: 184.2 kB / 487.4 MB, free: 5.051 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.603/1.603, allocations: 221.5 MB / 0.7824 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001342, allocations: 95.91 kB / 0.9219 GB, free: 2.219 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.164e-05/2.166e-05, allocations: 1.953 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3395/0.3395, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.209/1.548, allocations: 195.5 MB / 1.397 GB, free: 11.62 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/1.549, allocations: 95.22 kB / 1.397 GB, free: 11.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.1294/1.678, allocations: 51.24 MB / 1.447 GB, free: 1.305 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.491e-06/1.678, allocations: 3.984 kB / 1.447 GB, free: 1.301 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.902e-05/1.678, allocations: 19.98 kB / 1.447 GB, free: 1.281 MB / 0.8542 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.003321/1.682, allocations: 0.9777 MB / 1.448 GB, free: 320 kB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/1.682, allocations: 8.562 kB / 1.448 GB, free: 312 kB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01036/1.692, allocations: 1.621 MB / 1.45 GB, free: 14.68 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/1.694, allocations: 0.6263 MB / 1.45 GB, free: 14.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.505e-05/1.694, allocations: 20 kB / 1.45 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/1.695, allocations: 36 kB / 1.45 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002862/1.697, allocations: 1.302 MB / 1.452 GB, free: 13.14 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/1.7, allocations: 1.345 MB / 1.453 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.798e-05/1.7, allocations: 7.938 kB / 1.453 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001566/1.7, allocations: 0 / 1.453 GB, free: 12.05 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004/1.701, allocations: 148.5 kB / 1.453 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01164/1.712, allocations: 6.569 MB / 1.459 GB, free: 5.961 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001601/1.714, allocations: 0.9002 MB / 1.46 GB, free: 5.344 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008305/1.715, allocations: 0.5568 MB / 1.461 GB, free: 4.973 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002639/1.718, allocations: 1.464 MB / 1.462 GB, free: 3.699 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.446e-05/1.718, allocations: 41.81 kB / 1.462 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=73): time 3.717e-06/1.718, allocations: 0 / 1.462 GB, free: 3.656 MB / 0.8698 GB Notification: Performance of matching and sorting (n=107): time 0.01119/1.729, allocations: 4.2 MB / 1.466 GB, free: 352 kB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.524e-05/1.729, allocations: 94.05 kB / 1.467 GB, free: 236 kB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008045/1.73, allocations: 476.2 kB / 1.467 GB, free: 15.86 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0001313/1.73, allocations: 25.7 kB / 1.467 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003385/1.73, allocations: 412.4 kB / 1.467 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004531/1.731, allocations: 362.5 kB / 1.468 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001086/1.731, allocations: 0 / 1.468 GB, free: 15.19 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002207/1.731, allocations: 387.6 kB / 1.468 GB, free: 14.84 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/1.732, allocations: 0.7217 MB / 1.469 GB, free: 14.38 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/1.734, allocations: 1.051 MB / 1.47 GB, free: 13.49 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00214/1.736, allocations: 0.9884 MB / 1.471 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-05/1.736, allocations: 4 kB / 1.471 GB, free: 12.8 MB / 0.8855 GB Notification: Performance of matching and sorting (n=162) (initialization): time 0.006799/1.743, allocations: 2.947 MB / 1.474 GB, free: 10.51 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.002122/1.745, allocations: 3.917 MB / 1.478 GB, free: 6.359 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.752e-05/1.745, allocations: 8 kB / 1.478 GB, free: 6.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003978/1.749, allocations: 1.012 MB / 1.479 GB, free: 5.48 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/1.751, allocations: 462.8 kB / 1.479 GB, free: 5.035 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/1.763, allocations: 8.699 MB / 1.487 GB, free: 13.6 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002526/1.765, allocations: 287.4 kB / 1.488 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003513/1.766, allocations: 65.48 kB / 1.488 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/1.766, allocations: 8 kB / 1.488 GB, free: 13.26 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005252/1.771, allocations: 2.277 MB / 1.49 GB, free: 11.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/1.771, allocations: 12 kB / 1.49 GB, free: 11.03 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001678/1.773, allocations: 0.5461 MB / 1.491 GB, free: 10.47 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002235/1.775, allocations: 499.1 kB / 1.491 GB, free: 9.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009716/1.785, allocations: 8.337 MB / 1.499 GB, free: 1.184 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002403/1.787, allocations: 267.6 kB / 1.499 GB, free: 0.9219 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000331/1.788, allocations: 63.97 kB / 1.499 GB, free: 0.8594 MB / 0.9011 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.0006066/1.788, allocations: 128.6 kB / 1.5 GB, free: 0.7266 MB / 0.9011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006766/1.795, allocations: 2.673 MB / 1.502 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/1.795, allocations: 83.05 kB / 1.502 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007175/1.803, allocations: 2.935 MB / 1.505 GB, free: 10.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.168e-05/1.803, allocations: 12 kB / 1.505 GB, free: 10.97 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.929e-05/1.803, allocations: 4 kB / 1.505 GB, free: 10.96 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.803, allocations: 11.91 kB / 1.505 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009841/1.813, allocations: 4.572 MB / 1.51 GB, free: 6.254 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.765e-05/1.813, allocations: 11.98 kB / 1.51 GB, free: 6.242 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001678/1.814, allocations: 355.4 kB / 1.51 GB, free: 5.895 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/1.818, allocations: 1.092 MB / 1.511 GB, free: 4.789 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001411/1.818, allocations: 19.94 kB / 1.511 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01304/1.831, allocations: 10.13 MB / 1.521 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.502e-05/1.831, allocations: 8 kB / 1.521 GB, free: 10.16 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006662/1.838, allocations: 3.143 MB / 1.524 GB, free: 6.785 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007419/1.839, allocations: 344.1 kB / 1.524 GB, free: 6.43 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002816/1.839, allocations: 11.98 kB / 1.524 GB, free: 6.418 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002221/1.841, allocations: 327.4 kB / 1.525 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003088/1.842, allocations: 104.1 kB / 1.525 GB, free: 5.996 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/1.842, allocations: 39.98 kB / 1.525 GB, free: 5.957 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0005323/1.842, allocations: 362.9 kB / 1.525 GB, free: 5.602 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.2e-07/1.842, allocations: 0.5625 kB / 1.525 GB, free: 5.602 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002746/1.845, allocations: 0.5234 MB / 1.526 GB, free: 5.078 MB / 0.9323 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.007275/1.852, allocations: 5.324 MB / 1.531 GB, free: 15.56 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.007374/1.86, allocations: 3.982 MB / 1.535 GB, free: 11.51 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.86, allocations: 0 / 1.535 GB, free: 11.51 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002938/1.863, allocations: 1.642 MB / 1.536 GB, free: 9.832 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/1.864, allocations: 120.6 kB / 1.537 GB, free: 9.715 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/1.874, allocations: 2.925 MB / 1.539 GB, free: 6.672 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001169/1.876, allocations: 1.112 MB / 1.54 GB, free: 5.535 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00237/1.878, allocations: 0.5615 MB / 1.541 GB, free: 4.969 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005746/1.879, allocations: 291.3 kB / 1.541 GB, free: 4.684 MB / 0.948 GB Notification: Performance of SimCode: time 6.21e-07/1.879, allocations: 0 / 1.541 GB, free: 4.684 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06868/1.947, allocations: 30.82 MB / 1.571 GB, free: 6.008 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.948, allocations: 171.2 kB / 1.572 GB, free: 5.82 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.911/4.859, allocations: 0 / 1.572 GB, free: 5.82 MB / 0.9792 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