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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008724/0.0008723, allocations: 86.72 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009138/0.0009138, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.419/1.419, allocations: 223.2 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.599/2.599, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 12 kB / 0.8149 GB, free: 14.13 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7926/0.793, allocations: 142.3 MB / 0.9539 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Conversion.Examples.ACACTransformerFull): time 0.006251/0.7993, allocations: 4.829 MB / 0.9586 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006173/0.8055, allocations: 3.825 MB / 0.9623 GB, free: 1.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009105/0.8065, allocations: 16.34 kB / 0.9623 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004993/0.807, allocations: 96.23 kB / 0.9624 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.8091, allocations: 0.5213 MB / 0.9629 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001451/0.8105, allocations: 417.1 kB / 0.9633 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002031/0.8126, allocations: 1.323 MB / 0.9646 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.8139, allocations: 0.6618 MB / 0.9653 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008187/0.8147, allocations: 399.2 kB / 0.9656 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008936/0.8157, allocations: 0.5018 MB / 0.9661 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001105/0.8158, allocations: 39.78 kB / 0.9662 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.8172, allocations: 497 kB / 0.9666 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.8176, allocations: 299.2 kB / 0.9669 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.8178, allocations: 164.1 kB / 0.9671 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001391/0.8192, allocations: 1.02 MB / 0.9681 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.265e-06/0.8192, allocations: 0.9688 kB / 0.9681 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.655e-06/0.8192, allocations: 0 / 0.9681 GB, free: 13.69 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.222e-05/0.8193, allocations: 0 / 0.9681 GB, free: 13.69 MB / 0.7325 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.001982/0.8212, allocations: 1.023 MB / 0.9691 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.73e-05/0.8213, allocations: 13.55 kB / 0.9691 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001683/0.8215, allocations: 124.6 kB / 0.9692 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008637/0.8301, allocations: 1.692 MB / 0.9709 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.8315, allocations: 0.5994 MB / 0.9715 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.932e-05/0.8316, allocations: 49 kB / 0.9715 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001591/0.8317, allocations: 55.17 kB / 0.9716 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/0.8363, allocations: 1.917 MB / 0.9734 GB, free: 10.32 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.8364, allocations: 5.375 kB / 0.9734 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.8365, allocations: 35.14 kB / 0.9735 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003319/0.8368, allocations: 148 kB / 0.9736 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007673/0.8445, allocations: 2.62 MB / 0.9762 GB, free: 8.965 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/0.8549, allocations: 6.653 MB / 0.9827 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002993/0.858, allocations: 1.262 MB / 0.9839 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002246/0.8602, allocations: 0.9044 MB / 0.9848 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002242/0.8625, allocations: 1.491 MB / 0.9862 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.816e-05/0.8626, allocations: 50.56 kB / 0.9863 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=73): time 2.745e-06/0.8626, allocations: 0 / 0.9863 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=107): time 0.02562/0.8882, allocations: 8.243 MB / 0.9943 GB, free: 5.902 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.087e-05/0.8883, allocations: 90.05 kB / 0.9944 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001107/0.8894, allocations: 0.577 MB / 0.995 GB, free: 5.211 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002152/0.8897, allocations: 41.7 kB / 0.995 GB, free: 5.164 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.8901, allocations: 419 kB / 0.9954 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004357/0.8905, allocations: 362.7 kB / 0.9958 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.8906, allocations: 28 kB / 0.9958 GB, free: 4.359 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002538/0.8909, allocations: 394.7 kB / 0.9962 GB, free: 3.965 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002686/0.8936, allocations: 1.107 MB / 0.9972 GB, free: 2.855 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002844/0.8964, allocations: 1.452 MB / 0.9987 GB, free: 1.266 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002854/0.8993, allocations: 1.226 MB / 0.9999 GB, free: 36 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/0.8993, allocations: 4 kB / 0.9999 GB, free: 32 kB / 0.7481 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.0102/0.9095, allocations: 3.882 MB / 1.004 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003127/0.9099, allocations: 392.6 kB / 1.004 GB, free: 11.6 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.027e-05/0.9099, allocations: 12 kB / 1.004 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004896/0.9148, allocations: 1.388 MB / 1.005 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001986/0.9168, allocations: 463.2 kB / 1.006 GB, free: 9.734 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01511/0.9319, allocations: 11.21 MB / 1.017 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00234/0.9343, allocations: 307.6 kB / 1.017 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001592/0.9345, allocations: 67.95 kB / 1.017 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.9345, allocations: 5.875 kB / 1.017 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009196/0.9437, allocations: 3.572 MB / 1.021 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.349e-05/0.9438, allocations: 8 kB / 1.021 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003736/0.9475, allocations: 1.097 MB / 1.022 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/0.9497, allocations: 479.1 kB / 1.022 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01323/0.9629, allocations: 10.34 MB / 1.032 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/0.9651, allocations: 307.7 kB / 1.033 GB, free: 13.27 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.9653, allocations: 63.91 kB / 1.033 GB, free: 13.21 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (123): * Single equations (assignments): 119 * 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.0007473/0.9661, allocations: 398.9 kB / 1.033 GB, free: 12.81 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.9663, allocations: 82.97 kB / 1.033 GB, free: 12.73 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01013/0.9765, allocations: 3.762 MB / 1.037 GB, free: 8.93 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.9765, allocations: 12 kB / 1.037 GB, free: 8.918 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-05/0.9766, allocations: 8 kB / 1.037 GB, free: 8.91 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/0.9766, allocations: 3.984 kB / 1.037 GB, free: 8.906 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01253/0.9891, allocations: 5.48 MB / 1.042 GB, free: 3.293 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.985e-05/0.9892, allocations: 4.094 kB / 1.042 GB, free: 3.289 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001522/0.9907, allocations: 375.4 kB / 1.042 GB, free: 2.922 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004318/0.995, allocations: 1.236 MB / 1.044 GB, free: 1.672 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001454/0.9952, allocations: 39.92 kB / 1.044 GB, free: 1.633 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.01, allocations: 10.74 MB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/1.01, allocations: 7.938 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009895/1.02, allocations: 3.669 MB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/1.021, allocations: 335.9 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/1.021, allocations: 32 kB / 1.058 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00198/1.023, allocations: 311.5 kB / 1.058 GB, free: 1.891 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003627/1.023, allocations: 108.3 kB / 1.059 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.023, allocations: 51.91 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006307/1.024, allocations: 402.8 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.2e-07/1.024, allocations: 0 / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002922/1.027, allocations: 0.5977 MB / 1.06 GB, free: 0.7461 MB / 0.8106 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.009822/1.037, allocations: 4.249 MB / 1.064 GB, free: 12.38 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.01402/1.051, allocations: 5.712 MB / 1.069 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.373e-05/1.051, allocations: 0 / 1.069 GB, free: 6.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.005141/1.056, allocations: 2.119 MB / 1.071 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001768/1.058, allocations: 160.7 kB / 1.072 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02688/1.085, allocations: 10.58 MB / 1.082 GB, free: 9.336 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.086, allocations: 1.114 MB / 1.083 GB, free: 8.188 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.00238/1.088, allocations: 0.5422 MB / 1.083 GB, free: 7.641 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006228/1.089, allocations: 300 kB / 1.084 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of SimCode: time 9.92e-07/1.089, allocations: 0 / 1.084 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0608/1.15, allocations: 33.43 MB / 1.116 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002678/1.15, allocations: 265.4 kB / 1.117 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.745/3.895, allocations: 3.938 kB / 1.117 GB, free: 5.961 MB / 0.8731 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