Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Battery_OB_Battery.Examples.ElectricBattery.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 84.92 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 175.4 kB / 24.91 MB, free: 8.668 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.3682/0.3682, allocations: 179.9 MB / 208.1 MB, free: 14.43 MB / 202.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo): time 0.002446/0.002446, allocations: 0.5031 MB / 265.1 MB, free: 5.543 MB / 250.7 MB " [Timeout remaining time 180] Using package Battery with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Battery main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Battery.Examples.ElectricBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Battery_OB_Battery.Examples.ElectricBattery") translateModel(Battery.Examples.ElectricBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Battery_OB_Battery.Examples.ElectricBattery") [Timeout 400] "Notification: Performance of FrontEnd - loaded program: time 1.012e-06/1.012e-06, allocations: 0 / 281.6 MB, free: 5.012 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 7.644e-06/8.656e-06, allocations: 2.312 kB / 281.6 MB, free: 5.008 MB / 266.7 MB Notification: Performance of NFInst.instantiate(Battery.Examples.ElectricBattery): time 0.005328/0.005337, allocations: 5.947 MB / 287.6 MB, free: 15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001727/0.007063, allocations: 1.489 MB / 289 MB, free: 13.51 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001911/0.007255, allocations: 15.94 kB / 289.1 MB, free: 13.49 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.007492, allocations: 130.8 kB / 289.2 MB, free: 13.36 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003442/0.007836, allocations: 214.1 kB / 289.4 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003423/0.008178, allocations: 235.7 kB / 289.6 MB, free: 12.92 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.1023/0.1105, allocations: 33.09 MB / 322.7 MB, free: 22.75 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006203/0.1167, allocations: 6.946 MB / 329.7 MB, free: 19.51 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01384/0.1305, allocations: 17.15 MB / 346.8 MB, free: 3.316 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01657/0.1471, allocations: 13.71 MB / 360.5 MB, free: 5.977 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004847/0.1519, allocations: 2.438 MB / 363 MB, free: 3.539 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004584/0.1565, allocations: 2.438 MB / 365.4 MB, free: 1.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004733/0.1612, allocations: 5.892 MB / 371.3 MB, free: 11.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0123/0.1735, allocations: 8.396 MB / 379.7 MB, free: 3.34 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02363/0.1972, allocations: 24.56 MB / 404.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1972, allocations: 0.5 kB / 404.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1972, allocations: 0.75 kB / 404.2 MB, free: 11.03 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0005616/0.1977, allocations: 0 / 404.2 MB, free: 11.03 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4415 * Number of variables: 4415 Notification: Performance of Generate backend data structure: time 0.03228/0.23, allocations: 21.11 MB / 425.3 MB, free: 5.832 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.23, allocations: 15.06 kB / 425.4 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004296/0.2343, allocations: 2.717 MB / 428.1 MB, free: 3.102 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009294/0.2436, allocations: 5.181 MB / 433.3 MB, free: 14.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007783/0.2444, allocations: 1.28 MB / 434.5 MB, free: 12.76 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002377/0.2468, allocations: 1.723 MB / 436.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1769/0.4237, allocations: 19.69 MB / 456 MB, free: 93.33 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002627/0.4239, allocations: 179.6 kB / 456.1 MB, free: 93.22 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001529/0.4254, allocations: 0.7782 MB / 456.9 MB, free: 92.76 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002275/0.4257, allocations: 485.7 kB / 457.4 MB, free: 92.76 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01139/0.4371, allocations: 6.965 MB / 464.3 MB, free: 91.3 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07023/0.5073, allocations: 122.4 MB / 0.573 GB, free: 6.684 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02339/0.5307, allocations: 12.13 MB / 0.5849 GB, free: 10.48 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003118/0.5338, allocations: 1.707 MB / 0.5865 GB, free: 8.773 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003687/0.5342, allocations: 167.9 kB / 0.5867 GB, free: 8.609 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.29e-05/0.5343, allocations: 134.5 kB / 0.5868 GB, free: 8.469 MB / 426.8 MB Notification: Performance of pre-optimization done (n=1012): time 1.066e-05/0.5343, allocations: 0 / 0.5868 GB, free: 8.469 MB / 426.8 MB Notification: Performance of matching and sorting (n=1012): time 0.2118/0.746, allocations: 22.79 MB / 0.6091 GB, free: 139.6 MB / 426.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.959e-05/0.7461, allocations: 154.4 kB / 0.6092 GB, free: 139.5 MB / 426.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01068/0.7568, allocations: 10.85 MB / 0.6198 GB, free: 137.6 MB / 426.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001193/0.758, allocations: 207.4 kB / 0.62 GB, free: 137.5 MB / 426.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.002644/0.7606, allocations: 8.578 MB / 0.6284 GB, free: 132.3 MB / 426.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002358/0.763, allocations: 3.985 MB / 0.6323 GB, free: 129 MB / 426.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004753/0.7678, allocations: 4.068 MB / 0.6363 GB, free: 126.4 MB / 426.9 MB Notification: Performance of setup shared object (initialization): time 2.081e-05/0.7678, allocations: 308.9 kB / 0.6366 GB, free: 126.1 MB / 426.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003809/0.7716, allocations: 2.25 MB / 0.6388 GB, free: 125.8 MB / 426.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005808/0.7774, allocations: 10.63 MB / 0.6491 GB, free: 114 MB / 426.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01148/0.7889, allocations: 14.97 MB / 0.6638 GB, free: 95.21 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001067/0.789, allocations: 84 kB / 0.6638 GB, free: 95.12 MB / 426.9 MB Notification: Performance of matching and sorting (n=2867) (initialization): time 0.02867/0.8176, allocations: 20.18 MB / 0.6835 GB, free: 73.8 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 8.738e-05/0.8177, allocations: 123.9 kB / 0.6837 GB, free: 73.68 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001837/0.8179, allocations: 268 kB / 0.6839 GB, free: 73.42 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02799/0.8459, allocations: 11.96 MB / 0.6956 GB, free: 60.39 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01383/0.8597, allocations: 5.627 MB / 0.7011 GB, free: 54.76 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.376/1.236, allocations: 418.2 MB / 1.11 GB, free: 1.086 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01334/1.249, allocations: 2.509 MB / 1.112 GB, free: 0.7344 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002078/1.251, allocations: 0.8711 MB / 1.113 GB, free: 0.5586 MB / 0.5419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1228 * 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 (2467): * Single equations (assignments): 2117 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 350 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 350 systems {(1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.1269/1.378, allocations: 1.652 MB / 1.114 GB, free: 153.8 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004334/1.382, allocations: 1.093 MB / 1.116 GB, free: 153.8 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02326/1.406, allocations: 14.15 MB / 1.129 GB, free: 150.8 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-05/1.406, allocations: 95.81 kB / 1.129 GB, free: 150.8 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001512/1.406, allocations: 94.94 kB / 1.13 GB, free: 150.8 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-05/1.406, allocations: 50.39 kB / 1.13 GB, free: 150.8 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03326/1.439, allocations: 19.19 MB / 1.148 GB, free: 147.2 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.676e-05/1.439, allocations: 0 / 1.148 GB, free: 147.2 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008244/1.447, allocations: 2.395 MB / 1.151 GB, free: 147.2 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02748/1.475, allocations: 11.57 MB / 1.162 GB, free: 142.8 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008158/1.476, allocations: 294.5 kB / 1.162 GB, free: 142.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2884/1.764, allocations: 417.2 MB / 1.57 GB, free: 6.859 MB / 0.6669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/1.764, allocations: 1.75 kB / 1.57 GB, free: 6.859 MB / 0.6669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02664/1.791, allocations: 14.29 MB / 1.584 GB, free: 3.156 MB / 0.6669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003283/1.794, allocations: 1.52 MB / 1.585 GB, free: 2.402 MB / 0.6669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00152/1.796, allocations: 294 kB / 1.585 GB, free: 2.402 MB / 0.6669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003964/1.8, allocations: 230.8 kB / 1.586 GB, free: 2.402 MB / 0.6669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003241/1.803, allocations: 1.188 MB / 1.587 GB, free: 2.332 MB / 0.6669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005298/1.803, allocations: 167 kB / 1.587 GB, free: 2.332 MB / 0.6669 GB Notification: Performance of sorting global known variables: time 0.005299/1.809, allocations: 5.147 MB / 1.592 GB, free: 1.656 MB / 0.6669 GB Notification: Performance of sort global known variables: time 6e-08/1.809, allocations: 0 / 1.592 GB, free: 1.656 MB / 0.6669 GB Notification: Performance of remove unused functions: time 0.1673/1.976, allocations: 9.731 MB / 1.601 GB, free: 180.5 MB / 0.6669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 128 (battery.electricalModel.SoC,battery.electricalModel.capacitorC1.Q,battery.electricalModel.capacitorC2.Q,battery.discreteElement[1,1,1].T,battery.discreteElement[1,1,2].T,battery.discreteElement[1,1,3].T,battery.discreteElement[1,1,4].T,battery.discreteElement[1,1,5].T,battery.discreteElement[1,2,1].T,battery.discreteElement[1,2,2].T,battery.discreteElement[1,2,3].T,battery.discreteElement[1,2,4].T,battery.discreteElement[1,2,5].T,battery.discreteElement[1,3,1].T,battery.discreteElement[1,3,2].T,battery.discreteElement[1,3,3].T,battery.discreteElement[1,3,4].T,battery.discreteElement[1,3,5].T,battery.discreteElement[1,4,1].T,battery.discreteElement[1,4,2].T,battery.discreteElement[1,4,3].T,battery.discreteElement[1,4,4].T,battery.discreteElement[1,4,5].T,battery.discreteElement[1,5,1].T,battery.discreteElement[1,5,2].T,battery.discreteElement[1,5,3].T,battery.discreteElement[1,5,4].T,battery.discreteElement[1,5,5].T,battery.discreteElement[2,1,1].T,battery.discreteElement[2,1,2].T,battery.discreteElement[2,1,3].T,battery.discreteElement[2,1,4].T,battery.discreteElement[2,1,5].T,battery.discreteElement[2,2,1].T,battery.discreteElement[2,2,2].T,battery.discreteElement[2,2,3].T,battery.discreteElement[2,2,4].T,battery.discreteElement[2,2,5].T,battery.discreteElement[2,3,1].T,battery.discreteElement[2,3,2].T,battery.discreteElement[2,3,3].T,battery.discreteElement[2,3,4].T,battery.discreteElement[2,3,5].T,battery.discreteElement[2,4,1].T,battery.discreteElement[2,4,2].T,battery.discreteElement[2,4,3].T,battery.discreteElement[2,4,4].T,battery.discreteElement[2,4,5].T,battery.discreteElement[2,5,1].T,battery.discreteElement[2,5,2].T,battery.discreteElement[2,5,3].T,battery.discreteElement[2,5,4].T,battery.discreteElement[2,5,5].T,battery.discreteElement[3,1,1].T,battery.discreteElement[3,1,2].T,battery.discreteElement[3,1,3].T,battery.discreteElement[3,1,4].T,battery.discreteElement[3,1,5].T,battery.discreteElement[3,2,1].T,battery.discreteElement[3,2,2].T,battery.discreteElement[3,2,3].T,battery.discreteElement[3,2,4].T,battery.discreteElement[3,2,5].T,battery.discreteElement[3,3,1].T,battery.discreteElement[3,3,2].T,battery.discreteElement[3,3,3].T,battery.discreteElement[3,3,4].T,battery.discreteElement[3,3,5].T,battery.discreteElement[3,4,1].T,battery.discreteElement[3,4,2].T,battery.discreteElement[3,4,3].T,battery.discreteElement[3,4,4].T,battery.discreteElement[3,4,5].T,battery.discreteElement[3,5,1].T,battery.discreteElement[3,5,2].T,battery.discreteElement[3,5,3].T,battery.discreteElement[3,5,4].T,battery.discreteElement[3,5,5].T,battery.discreteElement[4,1,1].T,battery.discreteElement[4,1,2].T,battery.discreteElement[4,1,3].T,battery.discreteElement[4,1,4].T,battery.discreteElement[4,1,5].T,battery.discreteElement[4,2,1].T,battery.discreteElement[4,2,2].T,battery.discreteElement[4,2,3].T,battery.discreteElement[4,2,4].T,battery.discreteElement[4,2,5].T,battery.discreteElement[4,3,1].T,battery.discreteElement[4,3,2].T,battery.discreteElement[4,3,3].T,battery.discreteElement[4,3,4].T,battery.discreteElement[4,3,5].T,battery.discreteElement[4,4,1].T,battery.discreteElement[4,4,2].T,battery.discreteElement[4,4,3].T,battery.discreteElement[4,4,4].T,battery.discreteElement[4,4,5].T,battery.discreteElement[4,5,1].T,battery.discreteElement[4,5,2].T,battery.discreteElement[4,5,3].T,battery.discreteElement[4,5,4].T,battery.discreteElement[4,5,5].T,battery.discreteElement[5,1,1].T,battery.discreteElement[5,1,2].T,battery.discreteElement[5,1,3].T,battery.discreteElement[5,1,4].T,battery.discreteElement[5,1,5].T,battery.discreteElement[5,2,1].T,battery.discreteElement[5,2,2].T,battery.discreteElement[5,2,3].T,battery.discreteElement[5,2,4].T,battery.discreteElement[5,2,5].T,battery.discreteElement[5,3,1].T,battery.discreteElement[5,3,2].T,battery.discreteElement[5,3,3].T,battery.discreteElement[5,3,4].T,battery.discreteElement[5,3,5].T,battery.discreteElement[5,4,1].T,battery.discreteElement[5,4,2].T,battery.discreteElement[5,4,3].T,battery.discreteElement[5,4,4].T,battery.discreteElement[5,4,5].T,battery.discreteElement[5,5,1].T,battery.discreteElement[5,5,2].T,battery.discreteElement[5,5,3].T,battery.discreteElement[5,5,4].T,battery.discreteElement[5,5,5].T) * 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 (614): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 350 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 350 systems {(1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002526/1.978, allocations: 0.6283 MB / 1.602 GB, free: 180.4 MB / 0.6669 GB Notification: Performance of simCode: created initialization part: time 0.0372/2.016, allocations: 51.5 MB / 1.652 GB, free: 141.7 MB / 0.6669 GB Notification: Performance of simCode: created event and clocks part: time 0.0005452/2.016, allocations: 262.8 kB / 1.653 GB, free: 141.7 MB / 0.6669 GB Notification: Performance of simCode: created simulation system equations: time 0.02443/2.041, allocations: 45.01 MB / 1.697 GB, free: 102.9 MB / 0.6669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008132/2.049, allocations: 3.221 MB / 1.7 GB, free: 102.6 MB / 0.6669 GB Error: Error parsing unit %: Parse error Error: Error parsing unit Ah: Prefix not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06638/2.115, allocations: 53.43 MB / 1.752 GB, free: 70.19 MB / 0.6669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00406/2.119, allocations: 4.189 MB / 1.756 GB, free: 67.31 MB / 0.6669 GB Notification: Performance of simCode: alias equations: time 0.006551/2.126, allocations: 1.867 MB / 1.758 GB, free: 66 MB / 0.6669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005146/2.131, allocations: 2.635 MB / 1.76 GB, free: 63.78 MB / 0.6669 GB Notification: Performance of SimCode: time 8.92e-07/2.131, allocations: 0 / 1.76 GB, free: 63.78 MB / 0.6669 GB Notification: Performance of Templates: time 0.4972/2.628, allocations: 419.9 MB / 2.17 GB, free: 185.6 MB / 0.7294 GB " [Timeout remaining time 397] make -j12 -f Battery_OB_Battery.Examples.ElectricBattery.makefile [Timeout 400] (rm -f Battery_OB_Battery.Examples.ElectricBattery.pipe ; mkfifo Battery_OB_Battery.Examples.ElectricBattery.pipe ; head -c 1048576 < Battery_OB_Battery.Examples.ElectricBattery.pipe >> ../files/Battery_OB_Battery.Examples.ElectricBattery.sim & ./Battery_OB_Battery.Examples.ElectricBattery -abortSlowSimulation -alarm=240 -lv LOG_STATS > Battery_OB_Battery.Examples.ElectricBattery.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.0641881842166185]