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.001961/0.001961, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002759/0.002759, allocations: 156.4 kB / 23.01 MB, free: 4.949 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.389/1.389, allocations: 158.6 MB / 184.8 MB, free: 6.195 MB / 174.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.05308/0.05308, allocations: 5.567 MB / 242.6 MB, free: 13.55 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.002287/0.002287, allocations: 67.91 kB / 359.6 MB, free: 12.35 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08398/0.08626, allocations: 50.73 MB / 410.3 MB, free: 9.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.Impedance): time 0.006203/0.09247, allocations: 4.229 MB / 414.6 MB, free: 5.219 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003111/0.09558, allocations: 1.827 MB / 416.4 MB, free: 3.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000294/0.09587, allocations: 23.88 kB / 416.4 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008573/0.09673, allocations: 346 kB / 416.8 MB, free: 3.016 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005529/0.09728, allocations: 302.1 kB / 417.1 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006182/0.0979, allocations: 355.7 kB / 417.4 MB, free: 2.371 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002838/0.1007, allocations: 2.634 MB / 420 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001275/0.102, allocations: 0.8108 MB / 420.9 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001014/0.103, allocations: 0.8957 MB / 421.7 MB, free: 13.97 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001303/0.1043, allocations: 1.02 MB / 422.8 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003975/0.1047, allocations: 331.9 kB / 423.1 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004239/0.1052, allocations: 336 kB / 423.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005347/0.1057, allocations: 0.5455 MB / 424 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009721/0.1067, allocations: 0.8442 MB / 424.8 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003715/0.1104, allocations: 3.863 MB / 428.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1104, allocations: 0 / 428.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1104, allocations: 0 / 428.7 MB, free: 7.023 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.039e-05/0.1104, allocations: 0 / 428.7 MB, free: 7.023 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.004125/0.1145, allocations: 2.231 MB / 430.9 MB, free: 4.746 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.1146, allocations: 15.98 kB / 430.9 MB, free: 4.73 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000336/0.1149, allocations: 191.7 kB / 431.1 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002698/0.1176, allocations: 1.7 MB / 432.8 MB, free: 2.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.1177, allocations: 98.83 kB / 432.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.1179, allocations: 136.3 kB / 433 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00331/0.1212, allocations: 2.003 MB / 435 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.181e-05/0.1213, allocations: 11.94 kB / 435 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.1214, allocations: 52 kB / 435.1 MB, free: 400 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.1215, allocations: 32 kB / 435.1 MB, free: 368 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1707/0.2921, allocations: 1.51 MB / 436.6 MB, free: 23.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008097/0.3002, allocations: 6.158 MB / 442.8 MB, free: 20.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002256/0.3025, allocations: 1.185 MB / 444 MB, free: 20.09 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008415/0.3033, allocations: 0.5137 MB / 444.5 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.3034, allocations: 7.375 kB / 444.5 MB, free: 19.88 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000831/0.3042, allocations: 0.7274 MB / 445.2 MB, free: 19.39 MB / 350.1 MB Notification: Performance of pre-optimization done (n=59): time 2.214e-06/0.3042, allocations: 2.688 kB / 445.2 MB, free: 19.39 MB / 350.1 MB Notification: Performance of matching and sorting (n=59): time 0.001982/0.3062, allocations: 1.229 MB / 446.5 MB, free: 18.87 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.3062, allocations: 166 kB / 446.6 MB, free: 18.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002202/0.3084, allocations: 1.624 MB / 448.3 MB, free: 18.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.3085, allocations: 37.98 kB / 448.3 MB, free: 17.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005549/0.309, allocations: 0.7464 MB / 449 MB, free: 17.48 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.3092, allocations: 218.5 kB / 449.2 MB, free: 17.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002453/0.3094, allocations: 157.6 kB / 449.4 MB, free: 17.26 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.732e-05/0.3095, allocations: 336 kB / 449.7 MB, free: 16.95 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006828/0.3102, allocations: 462.1 kB / 450.2 MB, free: 16.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/0.311, allocations: 0.7845 MB / 451 MB, free: 16.14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003718/0.3147, allocations: 1.959 MB / 452.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.3147, allocations: 6.469 kB / 452.9 MB, free: 15.17 MB / 350.1 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.002014/0.3168, allocations: 1.308 MB / 454.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.397e-05/0.3168, allocations: 37.17 kB / 454.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.3168, allocations: 5.656 kB / 454.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.538e-05/0.3168, allocations: 9.531 kB / 454.3 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009112/0.3177, allocations: 222.2 kB / 454.5 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.3178, allocations: 13.72 kB / 454.5 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006712/0.3184, allocations: 109.6 kB / 454.6 MB, free: 14.46 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.354e-05/0.3185, allocations: 28.67 kB / 454.7 MB, free: 14.45 MB / 350.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.0009309/0.3194, allocations: 0.7336 MB / 455.4 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.3196, allocations: 118.8 kB / 455.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.321, allocations: 0.9703 MB / 456.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.588e-06/0.321, allocations: 6.594 kB / 456.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.3211, allocations: 3.938 kB / 456.5 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3211, allocations: 5.109 kB / 456.5 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003797/0.3249, allocations: 2.578 MB / 459.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3249, allocations: 4.031 kB / 459.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007772/0.3256, allocations: 169.6 kB / 459.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.3257, allocations: 11.3 kB / 459.2 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.129e-05/0.3257, allocations: 19.88 kB / 459.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.3257, allocations: 3.219 kB / 459.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3257, allocations: 2.094 kB / 459.3 MB, free: 11.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002344/0.3281, allocations: 1.553 MB / 460.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000416/0.3285, allocations: 204.9 kB / 461 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001846/0.3287, allocations: 22.95 kB / 461 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000545/0.3292, allocations: 45.77 kB / 461.1 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.3293, allocations: 49 kB / 461.1 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.3294, allocations: 18 kB / 461.2 MB, free: 10.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001434/0.3308, allocations: 1.147 MB / 462.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3308, allocations: 4 kB / 462.3 MB, free: 9.949 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008936/0.3317, allocations: 330 kB / 462.6 MB, free: 9.777 MB / 350.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.0001294/0.3318, allocations: 136.9 kB / 462.8 MB, free: 9.641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001351/0.3332, allocations: 0.9968 MB / 463.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.3332, allocations: 0 / 463.8 MB, free: 8.617 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005184/0.3337, allocations: 410.6 kB / 464.2 MB, free: 8.219 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.3347, allocations: 272.4 kB / 464.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004097/0.3388, allocations: 3.353 MB / 467.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009051/0.3397, allocations: 1.109 MB / 468.9 MB, free: 3.441 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006802/0.3404, allocations: 304.7 kB / 469.2 MB, free: 3.141 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002366/0.3406, allocations: 76.48 kB / 469.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3406, allocations: 0 / 469.3 MB, free: 3.066 MB / 350.1 MB Notification: Performance of Templates: time 0.03005/0.3707, allocations: 16.72 MB / 486 MB, free: 2.312 MB / 366.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 -s ida -lv LOG_STATS > ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.037076671957038] Failed to read output from testmodel.py, exit status != 0: 0.3798021429684013 0.397636033 0.283577646 Calling exit ...