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.001324/0.001324, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001474/0.001474, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.503/1.503, allocations: 207.6 MB / 233 MB, free: 10.02 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.07217/0.07217, allocations: 7.145 MB / 292.4 MB, free: 14.69 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.002448/0.002448, allocations: 72.77 kB / 409.5 MB, free: 47.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1125/0.115, allocations: 50.75 MB / 460.3 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.Impedance): time 0.007206/0.1222, allocations: 4.731 MB / 465 MB, free: 9.102 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003662/0.1259, allocations: 1.936 MB / 467 MB, free: 7.152 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004117/0.1263, allocations: 23.88 kB / 467 MB, free: 7.129 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001051/0.1273, allocations: 377.8 kB / 467.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006222/0.128, allocations: 290.2 kB / 467.6 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007064/0.1287, allocations: 355.7 kB / 468 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00333/0.132, allocations: 2.642 MB / 470.6 MB, free: 3.477 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001512/0.1335, allocations: 0.7953 MB / 471.4 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001374/0.1349, allocations: 0.8918 MB / 472.3 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001237/0.1361, allocations: 0.9298 MB / 473.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004021/0.1365, allocations: 328 kB / 473.6 MB, free: 492 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004148/0.1369, allocations: 332 kB / 473.9 MB, free: 160 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005606/0.1375, allocations: 0.5377 MB / 474.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.1392, allocations: 1.117 MB / 475.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004537/0.1437, allocations: 3.851 MB / 479.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.1437, allocations: 0 / 479.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1437, allocations: 0 / 479.4 MB, free: 10.63 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.538e-05/0.1438, allocations: 4 kB / 479.4 MB, free: 10.63 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.004966/0.1487, allocations: 2.223 MB / 481.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.1488, allocations: 19.92 kB / 481.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003805/0.1492, allocations: 199.7 kB / 481.8 MB, free: 8.145 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.152, allocations: 1.689 MB / 483.5 MB, free: 6.418 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.1522, allocations: 106.8 kB / 483.6 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/0.1524, allocations: 128.3 kB / 483.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003396/0.1558, allocations: 1.831 MB / 485.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.504e-05/0.1558, allocations: 0 / 485.6 MB, free: 4.281 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/0.1559, allocations: 52 kB / 485.6 MB, free: 4.23 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.982e-05/0.156, allocations: 32 kB / 485.7 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.1588, allocations: 1.52 MB / 487.2 MB, free: 2.672 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01161/0.1705, allocations: 7.042 MB / 494.2 MB, free: 11.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/0.1731, allocations: 1.193 MB / 495.4 MB, free: 10.31 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009584/0.1741, allocations: 0.5026 MB / 495.9 MB, free: 9.801 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.1741, allocations: 8.5 kB / 495.9 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001/0.1751, allocations: 0.5501 MB / 496.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of pre-optimization done (n=59): time 2.555e-06/0.1751, allocations: 0 / 496.5 MB, free: 9.215 MB / 366.1 MB Notification: Performance of matching and sorting (n=59): time 0.002631/0.1778, allocations: 1.265 MB / 497.7 MB, free: 7.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001349/0.1779, allocations: 162.7 kB / 497.9 MB, free: 7.746 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003458/0.1814, allocations: 1.969 MB / 499.9 MB, free: 5.766 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.1815, allocations: 41.7 kB / 499.9 MB, free: 5.719 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008983/0.1824, allocations: 0.7287 MB / 0.4889 GB, free: 4.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002883/0.1827, allocations: 222.2 kB / 0.4891 GB, free: 4.762 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002922/0.1829, allocations: 146.6 kB / 0.4893 GB, free: 4.609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002554/0.1832, allocations: 349.8 kB / 0.4896 GB, free: 4.262 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/0.184, allocations: 429.8 kB / 0.49 GB, free: 3.844 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009946/0.185, allocations: 0.6631 MB / 0.4906 GB, free: 3.094 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004406/0.1894, allocations: 1.952 MB / 0.4926 GB, free: 1.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.272e-06/0.1894, allocations: 0 / 0.4926 GB, free: 1.039 MB / 366.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002623/0.1921, allocations: 1.31 MB / 0.4938 GB, free: 15.71 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.1921, allocations: 38.45 kB / 0.4939 GB, free: 15.67 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.1921, allocations: 4 kB / 0.4939 GB, free: 15.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.1922, allocations: 16 kB / 0.4939 GB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/0.1931, allocations: 211.6 kB / 0.4941 GB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.169e-05/0.1932, allocations: 19.97 kB / 0.4941 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008998/0.1941, allocations: 139 kB / 0.4942 GB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.851e-05/0.1941, allocations: 39.94 kB / 0.4943 GB, free: 15.25 MB / 382.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.001481/0.1956, allocations: 0.7381 MB / 0.495 GB, free: 14.5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002616/0.1959, allocations: 143.1 kB / 0.4951 GB, free: 14.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00193/0.1978, allocations: 0.9993 MB / 0.4961 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.1978, allocations: 4 kB / 0.4961 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1978, allocations: 0 / 0.4961 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/0.1978, allocations: 3.984 kB / 0.4961 GB, free: 13.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00517/0.203, allocations: 2.992 MB / 0.499 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.203, allocations: 4.031 kB / 0.499 GB, free: 10.28 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008407/0.2038, allocations: 171.7 kB / 0.4992 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.2039, allocations: 4 kB / 0.4992 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.318e-05/0.2039, allocations: 23.98 kB / 0.4992 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.2039, allocations: 0 / 0.4992 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.2039, allocations: 4 kB / 0.4992 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002553/0.2065, allocations: 1.579 MB / 0.5008 GB, free: 8.484 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004742/0.207, allocations: 230.9 kB / 0.501 GB, free: 8.258 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001854/0.2071, allocations: 27.98 kB / 0.501 GB, free: 8.23 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005595/0.2077, allocations: 47.95 kB / 0.5011 GB, free: 8.184 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.2078, allocations: 48.44 kB / 0.5011 GB, free: 8.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.918e-05/0.2079, allocations: 20 kB / 0.5011 GB, free: 8.117 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00233/0.2102, allocations: 1.41 MB / 0.5025 GB, free: 6.707 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2102, allocations: 4 kB / 0.5025 GB, free: 6.703 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009927/0.2112, allocations: 299.4 kB / 0.5028 GB, free: 6.41 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.0002246/0.2114, allocations: 131.2 kB / 0.5029 GB, free: 6.27 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.2132, allocations: 0.9799 MB / 0.5039 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2132, allocations: 0 / 0.5039 GB, free: 5.277 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007176/0.2139, allocations: 406.6 kB / 0.5043 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001268/0.2152, allocations: 332.7 kB / 0.5046 GB, free: 4.551 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00583/0.221, allocations: 3.43 MB / 0.5079 GB, free: 1.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.2225, allocations: 1.693 MB / 0.5096 GB, free: 15.35 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0009994/0.2235, allocations: 357.7 kB / 0.5099 GB, free: 15 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002888/0.2238, allocations: 83.44 kB / 0.51 GB, free: 14.92 MB / 398.1 MB Notification: Performance of SimCode: time 9.71e-07/0.2238, allocations: 0 / 0.51 GB, free: 14.92 MB / 398.1 MB Notification: Performance of Templates: time 0.2703/0.4941, allocations: 19.61 MB / 0.5292 GB, free: 61.2 MB / 398.1 MB " [Timeout remaining time 659] 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: 5.682704016799107] Failed to read output from testmodel.py, exit status != 0: 0.5042389431037009 0.525847262 0.37747538900000005 Calling exit ...