Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.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.001985/0.001985, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 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.002317/0.002317, allocations: 222.8 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 207.7 MB / 233.8 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/package.mo): time 0.06457/0.06457, allocations: 7.141 MB / 293.2 MB, free: 14.49 MB / 238.1 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage master/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.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(ElectricalEnergyStorage.Examples.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance") translateModel(ElectricalEnergyStorage.Examples.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ElectricalEnergyStorage requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002343/0.002343, allocations: 77.31 kB / 410.3 MB, free: 47.26 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09121/0.09355, allocations: 50.74 MB / 461 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.Impedance): time 0.006638/0.1002, allocations: 4.225 MB / 465.3 MB, free: 9.418 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.1037, allocations: 1.827 MB / 467.1 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004108/0.1041, allocations: 23.88 kB / 467.1 MB, free: 7.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001021/0.1051, allocations: 357.9 kB / 467.5 MB, free: 7.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006268/0.1058, allocations: 294.1 kB / 467.7 MB, free: 6.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006996/0.1065, allocations: 351.7 kB / 468.1 MB, free: 6.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002859/0.1093, allocations: 2.642 MB / 470.7 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00131/0.1106, allocations: 0.8187 MB / 471.6 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.1118, allocations: 0.8918 MB / 472.4 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.1131, allocations: 1.024 MB / 473.5 MB, free: 1.129 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003957/0.1135, allocations: 331.9 kB / 473.8 MB, free: 0.8047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.1139, allocations: 336 kB / 474.1 MB, free: 488 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005531/0.1145, allocations: 0.53 MB / 474.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.1156, allocations: 0.8442 MB / 475.5 MB, free: 15.1 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004017/0.1196, allocations: 3.867 MB / 479.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.1196, allocations: 0 / 479.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1196, allocations: 0 / 479.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.064e-05/0.1196, allocations: 0 / 479.4 MB, free: 11.22 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.004915/0.1246, allocations: 2.231 MB / 481.6 MB, free: 8.941 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.1246, allocations: 11.98 kB / 481.6 MB, free: 8.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003647/0.125, allocations: 199.7 kB / 481.8 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002994/0.128, allocations: 1.697 MB / 483.5 MB, free: 7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.1281, allocations: 102.8 kB / 483.6 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002179/0.1283, allocations: 128.3 kB / 483.7 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00353/0.1318, allocations: 2.007 MB / 485.7 MB, free: 4.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.542e-05/0.1319, allocations: 7.922 kB / 485.7 MB, free: 4.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.132, allocations: 52 kB / 485.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.447e-05/0.132, allocations: 32 kB / 485.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.1349, allocations: 1.508 MB / 487.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01055/0.1454, allocations: 6.169 MB / 493.5 MB, free: 12.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002847/0.1483, allocations: 1.193 MB / 494.7 MB, free: 11.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009501/0.1492, allocations: 0.5104 MB / 495.2 MB, free: 11.05 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.907e-05/0.1493, allocations: 4.5 kB / 495.2 MB, free: 11.04 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.1504, allocations: 0.7297 MB / 495.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 3.166e-06/0.1504, allocations: 0 / 495.9 MB, free: 10.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.002386/0.1528, allocations: 1.23 MB / 497.2 MB, free: 9.008 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/0.1529, allocations: 166.7 kB / 497.3 MB, free: 8.805 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002621/0.1556, allocations: 1.613 MB / 498.9 MB, free: 7.176 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001099/0.1557, allocations: 41.7 kB / 499 MB, free: 7.129 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008058/0.1565, allocations: 0.7464 MB / 499.7 MB, free: 6.375 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002362/0.1567, allocations: 214.2 kB / 499.9 MB, free: 6.164 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.157, allocations: 154.6 kB / 0.4884 GB, free: 6.004 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.1572, allocations: 341.9 kB / 0.4887 GB, free: 5.664 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/0.158, allocations: 463.5 kB / 0.4891 GB, free: 5.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.1591, allocations: 0.7886 MB / 0.4899 GB, free: 4.297 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004274/0.1633, allocations: 1.96 MB / 0.4918 GB, free: 2.234 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.844e-06/0.1633, allocations: 4 kB / 0.4918 GB, free: 2.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002429/0.1658, allocations: 1.304 MB / 0.4931 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.1658, allocations: 37.64 kB / 0.4931 GB, free: 0.8633 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.1658, allocations: 8 kB / 0.4931 GB, free: 0.8555 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/0.1659, allocations: 8 kB / 0.4931 GB, free: 0.8477 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009162/0.1668, allocations: 224.4 kB / 0.4934 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.1668, allocations: 15.92 kB / 0.4934 GB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007848/0.1676, allocations: 103.4 kB / 0.4935 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.1677, allocations: 32 kB / 0.4935 GB, free: 492 kB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.variableCapacitor.Q:VARIABLE(unit = \"C\" fixed = true ) type: Real [3] rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.variableCapacitor.Q:VARIABLE(unit = \"C\" fixed = true ) type: Real [3] rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q:VARIABLE(unit = \"C\" fixed = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$whenCondition1,rCseriesLinear.rs.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[3].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[2].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * 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.00127/0.1689, allocations: 0.7481 MB / 0.4942 GB, free: 15.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001956/0.1691, allocations: 119.2 kB / 0.4943 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.1709, allocations: 0.9655 MB / 0.4953 GB, free: 14.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.1709, allocations: 4 kB / 0.4953 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.1709, allocations: 4 kB / 0.4953 GB, free: 14.63 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.171, allocations: 7.984 kB / 0.4953 GB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004636/0.1756, allocations: 2.589 MB / 0.4978 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1756, allocations: 0 / 0.4978 GB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008147/0.1764, allocations: 167.7 kB / 0.498 GB, free: 11.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.1764, allocations: 4 kB / 0.498 GB, free: 11.81 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.615e-05/0.1765, allocations: 28.02 kB / 0.498 GB, free: 11.79 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.264e-06/0.1765, allocations: 4 kB / 0.498 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.1765, allocations: 0 / 0.498 GB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/0.179, allocations: 1.55 MB / 0.4995 GB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004922/0.1795, allocations: 203.1 kB / 0.4997 GB, free: 10.02 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.1797, allocations: 27.98 kB / 0.4998 GB, free: 9.988 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005092/0.1802, allocations: 47.95 kB / 0.4998 GB, free: 9.941 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.1803, allocations: 40.42 kB / 0.4998 GB, free: 9.902 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.679e-05/0.1804, allocations: 19.98 kB / 0.4999 GB, free: 9.883 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001872/0.1822, allocations: 1.148 MB / 0.501 GB, free: 8.727 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1822, allocations: 0 / 0.501 GB, free: 8.727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001044/0.1833, allocations: 327 kB / 0.5013 GB, free: 8.406 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 10 (rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.variableCapacitor.Q,rCseriesLinear.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.variableCapacitor.Q,rCseriesLinear.rcseriesLinear.rclinear[2].resistor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.impedanceValue.qabs.absInt.y,rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.variableCapacitor.Q,rCseriesLinear.rcseriesLinear.rclinear[3].resistor.impedanceValue.qabs.absInt.y,rCseriesLinear.rs.impedanceValue.qabs.absInt.y) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 60 * 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.0001955/0.1835, allocations: 131.2 kB / 0.5014 GB, free: 8.266 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001795/0.1853, allocations: 0.9919 MB / 0.5024 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.1853, allocations: 1.5 kB / 0.5024 GB, free: 7.254 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000694/0.186, allocations: 410.6 kB / 0.5028 GB, free: 6.852 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001237/0.1872, allocations: 264.2 kB / 0.503 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005994/0.1932, allocations: 3.303 MB / 0.5063 GB, free: 3.238 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001363/0.1946, allocations: 1.078 MB / 0.5073 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000461/0.195, allocations: 75.44 kB / 0.5074 GB, free: 2.047 MB / 382.1 MB Notification: Performance of SimCode: time 1.603e-06/0.195, allocations: 0 / 0.5074 GB, free: 2.047 MB / 382.1 MB Notification: Performance of Templates: time 0.2605/0.4555, allocations: 22.59 MB / 0.5294 GB, free: 67.95 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.makefile [Timeout 660] (rm -f ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.pipe ; mkfifo ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.pipe ; head -c 1048576 < ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.pipe >> ../files/ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.sim & ./ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance -abortSlowSimulation -alarm=480 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.154279957991093] Failed to read output from testmodel.py, exit status != 0: 0.4648877829313278 0.47884179299999996 0.356680972 Calling exit ...