Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Components.myBattery.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Components.myBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Components.myBattery") translateModel(PowerSysPro.Components.myBattery,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Components.myBattery") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 173.1 kB / 16.12 MB, free: 5.691 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 225.7 MB / 242.6 MB, free: 8.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000865/0.0008649, allocations: 95.27 kB / 293.8 MB, free: 9.5 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.05474/0.05474, allocations: 8.097 MB / 353 MB, free: 14.2 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0004847/0.0004848, allocations: 8 kB / 416.2 MB, free: 56.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1351, allocations: 52.53 MB / 468.7 MB, free: 3.559 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSysPro.Components.myBattery): time 0.002467/0.1377, allocations: 2.081 MB / 470.8 MB, free: 1.469 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001755/0.1395, allocations: 1.531 MB / 472.3 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002361/0.1397, allocations: 4 kB / 472.4 MB, free: 15.77 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000776/0.1405, allocations: 371 kB / 472.7 MB, free: 15.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.141, allocations: 187.4 kB / 472.9 MB, free: 15.22 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.142, allocations: 0.7466 MB / 473.6 MB, free: 14.38 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005182/0.1426, allocations: 346.8 kB / 474 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000221/0.1428, allocations: 99.88 kB / 474.1 MB, free: 13.94 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002644/0.1431, allocations: 151.4 kB / 474.2 MB, free: 13.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000427/0.1435, allocations: 279.3 kB / 474.5 MB, free: 13.52 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.383e-05/0.1436, allocations: 16 kB / 474.5 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003536/0.1439, allocations: 131.9 kB / 474.6 MB, free: 13.37 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000287/0.1442, allocations: 311 kB / 474.9 MB, free: 13.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003636/0.1446, allocations: 351.4 kB / 475.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001004/0.1456, allocations: 0.8875 MB / 476.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.1456, allocations: 0 / 476.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1456, allocations: 3.938 kB / 476.2 MB, free: 11.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.24e-05/0.1457, allocations: 0 / 476.2 MB, free: 11.82 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.002203/0.1479, allocations: 1.116 MB / 477.3 MB, free: 10.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1479, allocations: 12.03 kB / 477.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001964/0.1481, allocations: 95.72 kB / 477.4 MB, free: 10.54 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.1492, allocations: 0.7384 MB / 478.1 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.13e-05/0.1493, allocations: 72.34 kB / 478.2 MB, free: 9.664 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/0.1493, allocations: 16.38 kB / 478.2 MB, free: 9.648 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005887/0.1499, allocations: 304 kB / 478.5 MB, free: 9.324 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.15, allocations: 3.938 kB / 478.5 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.13e-05/0.15, allocations: 12 kB / 478.5 MB, free: 9.309 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.15, allocations: 8 kB / 478.6 MB, free: 9.301 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004038/0.1504, allocations: 175.7 kB / 478.7 MB, free: 9.129 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.1528, allocations: 1.317 MB / 480 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.1535, allocations: 327.7 kB / 480.4 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003646/0.1539, allocations: 148.8 kB / 480.5 MB, free: 7.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001047/0.1549, allocations: 0.6691 MB / 481.2 MB, free: 6.535 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.032e-05/0.155, allocations: 34.56 kB / 481.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of pre-optimization done (n=12): time 2.134e-06/0.155, allocations: 0 / 481.2 MB, free: 6.492 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007975/0.1558, allocations: 324.4 kB / 481.5 MB, free: 6.168 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001381/0.1559, allocations: 235.3 kB / 481.8 MB, free: 5.883 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:54:7-55:59:writable] Warning: Parameter SOC_start has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:53:7-53:73:writable] Warning: Parameter Np has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:52:7-52:71:writable] Warning: Parameter Ns has no value, and is fixed during initialization (fixed=true), using available start value (start=0) as default value. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo:425:9-425:73:writable] Warning: Parameter UNom has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002208/0.1581, allocations: 1.563 MB / 483.3 MB, free: 4.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.171e-05/0.1582, allocations: 29.7 kB / 483.3 MB, free: 4.262 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003437/0.1585, allocations: 419 kB / 483.8 MB, free: 3.848 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.78e-05/0.1586, allocations: 43.34 kB / 483.8 MB, free: 3.805 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.058e-05/0.1586, allocations: 4 kB / 483.8 MB, free: 3.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001319/0.1587, allocations: 318 kB / 484.1 MB, free: 3.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.1589, allocations: 63.97 kB / 484.2 MB, free: 3.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002831/0.1592, allocations: 171.8 kB / 484.3 MB, free: 3.211 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.1603, allocations: 341.6 kB / 484.7 MB, free: 2.855 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1603, allocations: 4 kB / 484.7 MB, free: 2.852 MB / 314.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005989/0.1609, allocations: 300.3 kB / 485 MB, free: 2.551 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1609, allocations: 8 kB / 485 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1609, allocations: 0 / 485 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.161, allocations: 4 kB / 485 MB, free: 2.539 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006849/0.1617, allocations: 124 kB / 485.1 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1617, allocations: 0 / 485.1 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.162, allocations: 47.73 kB / 485.2 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.162, allocations: 11.98 kB / 485.2 MB, free: 2.359 MB / 314.7 MB Warning: Assuming fixed start value for the following 1 variables: battery.integrator.q:VARIABLE(flow=false start = battery.SOC_start fixed = true ) "Charge as current integration" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * 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.0004088/0.1624, allocations: 341.7 kB / 485.5 MB, free: 2.016 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001218/0.1625, allocations: 82.91 kB / 485.6 MB, free: 1.934 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006465/0.1632, allocations: 301.5 kB / 485.9 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.1632, allocations: 0 / 485.9 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1632, allocations: 0 / 485.9 MB, free: 1.629 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1632, allocations: 4 kB / 485.9 MB, free: 1.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.1639, allocations: 0.5723 MB / 486.4 MB, free: 1.004 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1639, allocations: 3.938 kB / 486.5 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006535/0.1645, allocations: 107.9 kB / 486.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1646, allocations: 0 / 486.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.1646, allocations: 0 / 486.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.1646, allocations: 0 / 486.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1646, allocations: 0 / 486.6 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.1654, allocations: 459 kB / 487 MB, free: 440 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/0.1657, allocations: 208 kB / 487.2 MB, free: 212 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.71e-05/0.1657, allocations: 11.94 kB / 487.2 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002654/0.166, allocations: 40.03 kB / 487.3 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.784e-05/0.1661, allocations: 19.97 kB / 487.3 MB, free: 140 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.1661, allocations: 0 / 487.3 MB, free: 140 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.2186/0.3847, allocations: 1.123 MB / 488.4 MB, free: 26.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.81e-07/0.3848, allocations: 0 / 488.4 MB, free: 26.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007253/0.3855, allocations: 104.7 kB / 488.5 MB, free: 26.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (battery.integrator.q) * 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0006608/0.3862, allocations: 288 kB / 488.8 MB, free: 26.29 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006054/0.3868, allocations: 177.5 kB / 489 MB, free: 26.28 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3868, allocations: 3.906 kB / 489 MB, free: 26.28 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002422/0.3871, allocations: 86.56 kB / 489 MB, free: 26.28 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005405/0.3876, allocations: 69.19 kB / 489.1 MB, free: 26.28 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002998/0.3906, allocations: 1.849 MB / 491 MB, free: 25.57 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005511/0.3912, allocations: 1.006 MB / 492 MB, free: 24.87 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002728/0.3915, allocations: 122 kB / 492.1 MB, free: 24.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.3916, allocations: 49.06 kB / 492.1 MB, free: 24.85 MB / 314.7 MB Notification: Performance of SimCode: time 3.2e-07/0.3916, allocations: 0 / 492.1 MB, free: 24.85 MB / 314.7 MB Notification: Performance of Templates: time 0.01672/0.4084, allocations: 6.474 MB / 498.6 MB, free: 23.82 MB / 314.7 MB make -j1 -f PowerSysPro_PowerSysPro.Components.myBattery.makefile (rm -f PowerSysPro_PowerSysPro.Components.myBattery.pipe ; mkfifo PowerSysPro_PowerSysPro.Components.myBattery.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Components.myBattery.pipe >> ../files/PowerSysPro_PowerSysPro.Components.myBattery.sim & ./PowerSysPro_PowerSysPro.Components.myBattery -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Components.myBattery.pipe 2>&1)