Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.OnePhase.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") translateModel(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 200.6 kB / 16.64 MB, free: 6.43 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.755/1.755, allocations: 292.3 MB / 0.549 GB, free: 12.74 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00142/0.00142, allocations: 72.61 kB / 0.6723 GB, free: 25.98 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2578, allocations: 114.6 MB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery): time 0.006595/0.2644, allocations: 4.4 MB / 0.7884 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003632/0.2681, allocations: 2.206 MB / 0.7906 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002515/0.2684, allocations: 8 kB / 0.7906 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001192/0.2696, allocations: 422.1 kB / 0.791 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0007043/0.2703, allocations: 338.1 kB / 0.7913 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009046/0.2712, allocations: 421.6 kB / 0.7917 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0008623/0.2721, allocations: 0.7983 MB / 0.7925 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007643/0.2729, allocations: 0.5785 MB / 0.7931 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003942/0.2733, allocations: 326.8 kB / 0.7934 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005171/0.2738, allocations: 354.6 kB / 0.7937 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.03e-05/0.2739, allocations: 71.94 kB / 0.7938 GB, free: 2.777 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004949/0.2744, allocations: 315.5 kB / 0.7941 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.2746, allocations: 203.4 kB / 0.7943 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000276/0.2749, allocations: 330.4 kB / 0.7946 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009117/0.2758, allocations: 0.9852 MB / 0.7956 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2758, allocations: 0 / 0.7956 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2758, allocations: 0 / 0.7956 GB, free: 0.957 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.2758, allocations: 0 / 0.7956 GB, free: 0.957 MB / 0.6075 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.001915/0.2778, allocations: 0.9456 MB / 0.7965 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.2778, allocations: 12.03 kB / 0.7965 GB, free: 15.94 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006492/0.2785, allocations: 128.1 kB / 0.7966 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005453/0.279, allocations: 442.8 kB / 0.797 GB, free: 15.35 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.116e-05/0.2791, allocations: 41.38 kB / 0.7971 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.352e-05/0.2792, allocations: 56.36 kB / 0.7971 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.2802, allocations: 0.6851 MB / 0.7978 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.2802, allocations: 0 / 0.7978 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.899e-05/0.2803, allocations: 31.97 kB / 0.7978 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.178e-05/0.2804, allocations: 48.98 kB / 0.7979 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000975/0.2814, allocations: 0.562 MB / 0.7984 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.2847, allocations: 2.885 MB / 0.8012 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001051/0.2858, allocations: 0.5591 MB / 0.8018 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004451/0.2862, allocations: 253.6 kB / 0.802 GB, free: 9.938 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004686/0.2867, allocations: 0.5622 MB / 0.8026 GB, free: 9.246 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006563/0.2874, allocations: 396.3 kB / 0.803 GB, free: 8.84 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=46): time 2.184e-06/0.2874, allocations: 4 kB / 0.803 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46): time 0.001392/0.2888, allocations: 0.7313 MB / 0.8037 GB, free: 8.098 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.2889, allocations: 85.22 kB / 0.8038 GB, free: 7.996 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.2892, allocations: 349.8 kB / 0.8041 GB, free: 7.645 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.856e-05/0.2893, allocations: 45.7 kB / 0.8041 GB, free: 7.594 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001899/0.2895, allocations: 280.3 kB / 0.8044 GB, free: 7.316 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.2896, allocations: 150 kB / 0.8045 GB, free: 7.168 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001741/0.2898, allocations: 110.1 kB / 0.8047 GB, free: 7.055 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.29, allocations: 358.7 kB / 0.805 GB, free: 6.695 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004392/0.2904, allocations: 242.9 kB / 0.8052 GB, free: 6.453 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/0.2909, allocations: 362.6 kB / 0.8056 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008799/0.2918, allocations: 0.5748 MB / 0.8061 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.2918, allocations: 0 / 0.8061 GB, free: 5.434 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001127/0.293, allocations: 0.6678 MB / 0.8068 GB, free: 4.754 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.096e-05/0.293, allocations: 41.95 kB / 0.8068 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.293, allocations: 0 / 0.8068 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.2931, allocations: 8 kB / 0.8068 GB, free: 4.699 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004922/0.2936, allocations: 111.8 kB / 0.8069 GB, free: 4.59 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.2936, allocations: 7.938 kB / 0.8069 GB, free: 4.582 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004325/0.294, allocations: 67.55 kB / 0.807 GB, free: 4.516 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.206e-05/0.2941, allocations: 19.98 kB / 0.807 GB, free: 4.496 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005525/0.2946, allocations: 366 kB / 0.8074 GB, free: 4.137 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004877/0.2951, allocations: 331.3 kB / 0.8077 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007986/0.2959, allocations: 0.5368 MB / 0.8082 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/0.296, allocations: 4 kB / 0.8082 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of matching and sorting (n=67) (initialization_lambda0): time 0.001092/0.2971, allocations: 0.6225 MB / 0.8088 GB, free: 2.551 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.2971, allocations: 42.62 kB / 0.8089 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2971, allocations: 4 kB / 0.8089 GB, free: 2.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.765e-06/0.2971, allocations: 4 kB / 0.8089 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003957/0.2975, allocations: 99.81 kB / 0.809 GB, free: 2.398 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.2975, allocations: 8 kB / 0.809 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.298, allocations: 67.48 kB / 0.809 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.664e-05/0.298, allocations: 23.98 kB / 0.8091 GB, free: 2.301 MB / 0.6231 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 (bat_ideal.cha.overCharged,$PRE.bat_ideal.cha.overCharged,bat_ideal.cha.underCharged,$PRE.bat_ideal.cha.underCharged,$whenCondition2,bat_loss_acdc.cha.overCharged,$PRE.bat_loss_acdc.cha.overCharged,bat_loss_acdc.cha.underCharged,$PRE.bat_loss_acdc.cha.underCharged,$whenCondition3,bat.cha.overCharged,$PRE.bat.cha.overCharged,bat.cha.underCharged,$PRE.bat.cha.underCharged,$whenCondition4,pow.count,$PRE.pow.count,pow.T_start,$PRE.pow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002037/0.2982, allocations: 222.4 kB / 0.8093 GB, free: 2.074 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.2983, allocations: 43.53 kB / 0.8093 GB, free: 2.031 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001091/0.2994, allocations: 0.5721 MB / 0.8099 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.2994, allocations: 8 kB / 0.8099 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.2994, allocations: 0 / 0.8099 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.2994, allocations: 0 / 0.8099 GB, free: 1.445 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.3001, allocations: 0.6258 MB / 0.8105 GB, free: 0.7695 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3001, allocations: 3.938 kB / 0.8105 GB, free: 0.7656 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/0.3006, allocations: 99.83 kB / 0.8106 GB, free: 0.668 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.3006, allocations: 4 kB / 0.8106 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.3007, allocations: 12 kB / 0.8106 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3007, allocations: 0 / 0.8106 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.3007, allocations: 0 / 0.8106 GB, free: 0.6523 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00143/0.3021, allocations: 0.8822 MB / 0.8115 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002082/0.3024, allocations: 176.5 kB / 0.8116 GB, free: 15.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.646e-05/0.3024, allocations: 8.188 kB / 0.8117 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002977/0.3027, allocations: 39.95 kB / 0.8117 GB, free: 15.51 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.3029, allocations: 51.88 kB / 0.8117 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.3029, allocations: 15.94 kB / 0.8118 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0002696/0.3032, allocations: 255.2 kB / 0.812 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3032, allocations: 0 / 0.812 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0007357/0.3039, allocations: 259.1 kB / 0.8122 GB, free: 14.95 MB / 0.6387 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002135/0.3042, allocations: 131.2 kB / 0.8124 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001657/0.3058, allocations: 0.9589 MB / 0.8133 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3058, allocations: 0 / 0.8133 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004638/0.3063, allocations: 280.2 kB / 0.8136 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007797/0.3071, allocations: 179.2 kB / 0.8137 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001962/0.3091, allocations: 1.04 MB / 0.8148 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005152/0.3096, allocations: 0.8873 MB / 0.8156 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004691/0.3101, allocations: 144.2 kB / 0.8158 GB, free: 11.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001495/0.3102, allocations: 51.36 kB / 0.8158 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of SimCode: time 3.71e-07/0.3103, allocations: 0 / 0.8158 GB, free: 11.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.01614/0.3264, allocations: 8.325 MB / 0.8239 GB, free: 2.984 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.makefile (rm -f Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.sim & ./Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.OnePhase.Storage.Examples.AcBattery.pipe 2>&1)