Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.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.Storage.Examples.AcBattery,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Storage_Examples_AcBattery",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Storage_Examples_AcBattery",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.0009713/0.0009712, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.001087/0.001087, allocations: 177.3 kB / 15.95 MB, free: 216 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.444/1.444, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.404/2.404, allocations: 390.3 MB / 0.6653 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003821/0.0003824, allocations: 11.94 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.89/0.8904, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery): time 0.005923/0.8964, allocations: 5.276 MB / 0.9588 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003418/0.8999, allocations: 2.02 MB / 0.9607 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003373/0.9002, allocations: 9.5 kB / 0.9607 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002245/0.9005, allocations: 59.27 kB / 0.9608 GB, free: 2.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006418/0.9011, allocations: 250 kB / 0.961 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007983/0.9019, allocations: 290 kB / 0.9613 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006424/0.9026, allocations: 483.1 kB / 0.9618 GB, free: 1.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.9037, allocations: 0.7284 MB / 0.9625 GB, free: 1.168 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003384/0.9041, allocations: 219.7 kB / 0.9627 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003677/0.9045, allocations: 241.7 kB / 0.9629 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.248e-05/0.9045, allocations: 22.22 kB / 0.9629 GB, free: 0.8984 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.9049, allocations: 187.3 kB / 0.9631 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/0.9051, allocations: 140.6 kB / 0.9633 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/0.9052, allocations: 137.6 kB / 0.9634 GB, free: 0.6328 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006198/0.9059, allocations: 0.7369 MB / 0.9641 GB, free: 104 kB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.9059, allocations: 0 / 0.9641 GB, free: 104 kB / 0.7169 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9059, allocations: 0 / 0.9641 GB, free: 104 kB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.9059, allocations: 0 / 0.9641 GB, free: 104 kB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001571/0.9075, allocations: 0.856 MB / 0.9649 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.9075, allocations: 12.78 kB / 0.965 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001146/0.9076, allocations: 93.48 kB / 0.965 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.9083, allocations: 139.6 kB / 0.9652 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00064/0.909, allocations: 436.4 kB / 0.9656 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.754e-05/0.909, allocations: 38.39 kB / 0.9656 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.835e-05/0.9091, allocations: 49.41 kB / 0.9657 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.9103, allocations: 0.6932 MB / 0.9664 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.9103, allocations: 1.344 kB / 0.9664 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.321e-05/0.9104, allocations: 26.45 kB / 0.9664 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.825e-05/0.9105, allocations: 47 kB / 0.9664 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/0.9116, allocations: 0.5705 MB / 0.967 GB, free: 14.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003549/0.9151, allocations: 2.917 MB / 0.9698 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.9162, allocations: 0.562 MB / 0.9704 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004951/0.9168, allocations: 0.5637 MB / 0.9709 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000679/0.9174, allocations: 403.6 kB / 0.9713 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=46): time 2.295e-06/0.9175, allocations: 0 / 0.9713 GB, free: 10.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=46): time 0.001469/0.9189, allocations: 0.749 MB / 0.972 GB, free: 9.781 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.919, allocations: 94.36 kB / 0.9721 GB, free: 9.676 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.9194, allocations: 362.4 kB / 0.9725 GB, free: 9.449 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.612e-05/0.9195, allocations: 47.22 kB / 0.9725 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002122/0.9197, allocations: 285 kB / 0.9728 GB, free: 9.148 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.9199, allocations: 153.3 kB / 0.9729 GB, free: 9.016 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.9199, allocations: 10.5 kB / 0.973 GB, free: 9.008 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.92, allocations: 357 kB / 0.9733 GB, free: 8.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004533/0.9205, allocations: 233.9 kB / 0.9735 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005322/0.921, allocations: 363 kB / 0.9739 GB, free: 8.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.9215, allocations: 287.4 kB / 0.9741 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.9215, allocations: 1 kB / 0.9741 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001203/0.9228, allocations: 0.6813 MB / 0.9748 GB, free: 7.75 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004088/0.9232, allocations: 1.084 MB / 0.9759 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.9232, allocations: 2.188 kB / 0.9759 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.9232, allocations: 10.08 kB / 0.9759 GB, free: 6.586 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005025/0.9237, allocations: 109.4 kB / 0.976 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.9237, allocations: 5.219 kB / 0.976 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004979/0.9243, allocations: 77.75 kB / 0.9761 GB, free: 6.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.321e-05/0.9243, allocations: 20.06 kB / 0.9761 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.677e-06/0.9243, allocations: 4 kB / 0.9761 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001021/0.9253, allocations: 0.5813 MB / 0.9766 GB, free: 6.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.9254, allocations: 6.266 kB / 0.9767 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.474e-06/0.9254, allocations: 5.094 kB / 0.9767 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000403/0.9258, allocations: 103.1 kB / 0.9768 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.9258, allocations: 5.25 kB / 0.9768 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/0.9262, allocations: 73.23 kB / 0.9768 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.9263, allocations: 19.97 kB / 0.9769 GB, free: 6.117 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition2,$PRE.bat_ideal.cha.underCharged,bat_ideal.cha.underCharged,$PRE.bat_ideal.cha.overCharged,bat_ideal.cha.overCharged,$whenCondition3,$PRE.bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.underCharged,$PRE.bat_loss_acdc.cha.overCharged,bat_loss_acdc.cha.overCharged,$whenCondition4,$PRE.bat.cha.underCharged,bat.cha.underCharged,$PRE.bat.cha.overCharged,bat.cha.overCharged,$whenCondition1,$PRE.pow.T_start,pow.T_start,$PRE.pow.count,pow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003933/0.9267, allocations: 303.2 kB / 0.9771 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.516e-05/0.9268, allocations: 47.08 kB / 0.9772 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.9279, allocations: 0.5838 MB / 0.9778 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.9279, allocations: 5.219 kB / 0.9778 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.9279, allocations: 0 / 0.9778 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.786e-06/0.9279, allocations: 5.078 kB / 0.9778 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007743/0.9287, allocations: 0.6316 MB / 0.9784 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.9287, allocations: 5.406 kB / 0.9784 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005134/0.9292, allocations: 103.1 kB / 0.9785 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.9293, allocations: 6.688 kB / 0.9785 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.449e-05/0.9293, allocations: 10.55 kB / 0.9785 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.9293, allocations: 2.562 kB / 0.9785 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.9293, allocations: 0 / 0.9785 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0015/0.9308, allocations: 0.9013 MB / 0.9794 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.9311, allocations: 181.9 kB / 0.9796 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.861e-05/0.9312, allocations: 12.88 kB / 0.9796 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003221/0.9315, allocations: 38.64 kB / 0.9796 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.9316, allocations: 51.3 kB / 0.9797 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.889e-05/0.9317, allocations: 14.62 kB / 0.9797 GB, free: 4.184 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003143/0.932, allocations: 253.6 kB / 0.9799 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.675e-06/0.932, allocations: 0 / 0.9799 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008446/0.9328, allocations: 268.9 kB / 0.9802 GB, free: 3.941 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (bat_ideal.cha.SOC,bat_loss_acdc.cha.SOC,bat.cha.SOC) * Number of discrete variables: 12 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,pow.T_start,pow.count,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of discrete states: 7 (pow.count,bat_ideal.cha.underCharged,bat_ideal.cha.overCharged,bat_loss_acdc.cha.underCharged,bat_loss_acdc.cha.overCharged,bat.cha.underCharged,bat.cha.overCharged) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001855/0.9347, allocations: 1.551 MB / 0.9817 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.9363, allocations: 0.9685 MB / 0.9826 GB, free: 1.453 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.9363, allocations: 4 kB / 0.9826 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004482/0.9368, allocations: 275.7 kB / 0.9829 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007184/0.9375, allocations: 152.5 kB / 0.983 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005619/0.9432, allocations: 4.806 MB / 0.9877 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004723/0.9437, allocations: 0.9146 MB / 0.9886 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005365/0.9442, allocations: 140.3 kB / 0.9888 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002947/0.9445, allocations: 187.4 kB / 0.9889 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of SimCode: time 9.81e-07/0.9445, allocations: 3.938 kB / 0.9889 GB, free: 10.86 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02351/0.968, allocations: 11.98 MB / 1.001 GB, free: 15.16 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001684/0.9682, allocations: 203.8 kB / 1.001 GB, free: 14.93 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.967/2.935, allocations: 4 kB / 1.001 GB, free: 14.92 MB / 0.7637 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Storage_Examples_AcBattery_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesBalanced_Storage_Examples_AcBattery.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Storage.Examples.AcBattery_res.mat does not exist to compare? outputFormat=mat