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.0008611/0.0008611, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001237/0.002098, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0008982/0.0008982, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001235/0.002133, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.8429/0.8429, allocations: 158.6 MB / 171.1 MB, free: 2.512 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1545/0.9974, allocations: 49.51 MB / 220.7 MB, free: 1.359 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-master/package.mo): time 0.03198/0.03198, allocations: 5.564 MB / 227 MB, free: 11.04 MB / 234.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.004292/0.03627, allocations: 1.991 MB / 229 MB, free: 9.039 MB / 234.7 MB " [Timeout remaining time 180] Using package ElectricalEnergyStorage with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ElectricalEnergyStorage 3.2.2-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: Performance of FrontEnd - loaded program: time 3.427e-06/3.427e-06, allocations: 4 kB / 230.3 MB, free: 7.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.544e-05, allocations: 4.281 kB / 230.3 MB, free: 7.711 MB / 234.7 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.Impedance): time 0.005827/0.005852, allocations: 4.586 MB / 234.9 MB, free: 3.098 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003206/0.009058, allocations: 1.998 MB / 236.9 MB, free: 1.086 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003125/0.00937, allocations: 23.88 kB / 236.9 MB, free: 1.062 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007269/0.0101, allocations: 377.8 kB / 237.3 MB, free: 0.6914 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005361/0.01063, allocations: 302 kB / 237.6 MB, free: 404 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.01123, allocations: 363.6 kB / 237.9 MB, free: 40 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002336/0.01357, allocations: 2.673 MB / 240.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.01468, allocations: 0.8499 MB / 241.4 MB, free: 12.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.0164, allocations: 1.638 MB / 243.1 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009902/0.01739, allocations: 0.9669 MB / 244 MB, free: 9.832 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003362/0.01773, allocations: 328 kB / 244.4 MB, free: 9.512 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003701/0.0181, allocations: 332 kB / 244.7 MB, free: 9.188 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003694/0.01847, allocations: 435 kB / 245.1 MB, free: 8.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006682/0.01914, allocations: 0.6161 MB / 245.7 MB, free: 8.145 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001689/0.02083, allocations: 1.71 MB / 247.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.407e-05/0.02084, allocations: 0 / 247.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02084, allocations: 0 / 247.4 MB, free: 6.43 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.02086, allocations: 0 / 247.4 MB, free: 6.43 MB / 250.7 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.002344/0.0232, allocations: 2.276 MB / 249.7 MB, free: 4.113 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.02324, allocations: 12.03 kB / 249.7 MB, free: 4.102 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.0235, allocations: 216.8 kB / 249.9 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008865/0.02438, allocations: 0.8031 MB / 250.7 MB, free: 3.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.02445, allocations: 110.8 kB / 250.8 MB, free: 2.938 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/0.02458, allocations: 124.4 kB / 251 MB, free: 2.816 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001131/0.02571, allocations: 1.148 MB / 252.1 MB, free: 1.547 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.555e-05/0.02573, allocations: 12.08 kB / 252.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.557e-05/0.02581, allocations: 48.38 kB / 252.2 MB, free: 1.488 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.034e-05/0.02583, allocations: 35.88 kB / 252.2 MB, free: 1.453 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.02638, allocations: 359.3 kB / 252.6 MB, free: 1.09 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003812/0.03019, allocations: 4.187 MB / 256.7 MB, free: 12.79 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.03101, allocations: 0.5972 MB / 257.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002249/0.03124, allocations: 166.8 kB / 257.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.03127, allocations: 8.5 kB / 257.5 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000347/0.03161, allocations: 450 kB / 258 MB, free: 11.5 MB / 266.7 MB Notification: Performance of pre-optimization done (n=59): time 1.863e-06/0.03161, allocations: 0 / 258 MB, free: 11.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.000467/0.03208, allocations: 332.8 kB / 258.3 MB, free: 11.17 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.492e-05/0.03212, allocations: 63.84 kB / 258.3 MB, free: 11.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006592/0.03278, allocations: 0.8255 MB / 259.2 MB, free: 10.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 4.192e-05/0.03282, allocations: 37.7 kB / 259.2 MB, free: 10.21 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002751/0.03309, allocations: 0.5726 MB / 259.8 MB, free: 9.633 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.03322, allocations: 222.1 kB / 260 MB, free: 9.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.03338, allocations: 142.5 kB / 260.1 MB, free: 9.27 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001255/0.0335, allocations: 337.9 kB / 260.5 MB, free: 8.934 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002092/0.03371, allocations: 114.5 kB / 260.6 MB, free: 8.812 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003393/0.03405, allocations: 419.7 kB / 261 MB, free: 8.281 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007259/0.03478, allocations: 0.5492 MB / 261.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.03478, allocations: 0 / 261.5 MB, free: 7.645 MB / 266.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.0007002/0.03548, allocations: 484.6 kB / 262 MB, free: 7.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.03553, allocations: 37.86 kB / 262 MB, free: 7.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.03554, allocations: 8 kB / 262.1 MB, free: 7.102 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.03556, allocations: 8 kB / 262.1 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.03626, allocations: 231.7 kB / 262.3 MB, free: 6.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.304e-05/0.03628, allocations: 15.94 kB / 262.3 MB, free: 6.852 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003575/0.03663, allocations: 83.5 kB / 262.4 MB, free: 6.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.479e-05/0.03669, allocations: 27.98 kB / 262.4 MB, free: 6.742 MB / 266.7 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 (rCseriesLinear.rcseriesLinear.rclinear[1].capacitor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[1].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[2].capacitor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[2].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[3].capacitor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rcseriesLinear.rclinear[3].resistor.impedanceValue.qabs.absInt.local_reset,rCseriesLinear.rs.impedanceValue.qabs.absInt.local_reset,$PRE.pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$whenCondition1) * 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.0003539/0.03704, allocations: 192.7 kB / 262.6 MB, free: 6.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.03717, allocations: 87.84 kB / 262.7 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005663/0.03774, allocations: 349.9 kB / 263 MB, free: 6.109 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.03774, allocations: 8 kB / 263 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.03775, allocations: 0 / 263 MB, free: 6.102 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.03775, allocations: 7.984 kB / 263 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00187/0.03962, allocations: 1.344 MB / 264.4 MB, free: 4.711 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.03963, allocations: 4 kB / 264.4 MB, free: 4.707 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005589/0.04019, allocations: 163.8 kB / 264.6 MB, free: 4.547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.04036, allocations: 107.1 kB / 264.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.04036, allocations: 0 / 264.7 MB, free: 4.441 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/0.04041, allocations: 27.92 kB / 264.7 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.04042, allocations: 4 kB / 264.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.04042, allocations: 0 / 264.7 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007085/0.04113, allocations: 0.5433 MB / 265.2 MB, free: 3.844 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.04124, allocations: 27.98 kB / 265.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002833/0.04153, allocations: 35.98 kB / 265.3 MB, free: 3.781 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.315e-05/0.04162, allocations: 44.36 kB / 265.3 MB, free: 3.738 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-05/0.04165, allocations: 12 kB / 265.3 MB, free: 3.727 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0005186/0.04217, allocations: 434.8 kB / 265.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04217, allocations: 0 / 265.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006307/0.0428, allocations: 331 kB / 266.1 MB, free: 2.969 MB / 266.7 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.0001529/0.04295, allocations: 116.3 kB / 266.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00055/0.0435, allocations: 393.5 kB / 266.6 MB, free: 2.441 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.472e-05/0.04353, allocations: 19.94 kB / 266.6 MB, free: 2.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002832/0.04381, allocations: 181.6 kB / 266.8 MB, free: 2.242 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001575/0.04539, allocations: 2.113 MB / 268.9 MB, free: 15.79 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00897/0.05435, allocations: 2.544 MB / 271.4 MB, free: 13.18 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.05474, allocations: 363.5 kB / 271.8 MB, free: 12.8 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0004324/0.05517, allocations: 128 kB / 271.9 MB, free: 12.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006022/0.05577, allocations: 265.2 kB / 272.2 MB, free: 12.42 MB / 282.7 MB Notification: Performance of SimCode: time 1.182e-06/0.05578, allocations: 4 kB / 272.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of Templates: time 0.1251/0.1809, allocations: 18.43 MB / 290.6 MB, free: 39.45 MB / 282.7 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=240 -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.772644598968327]