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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003186/0.0003186, allocations: 0 / 0, free: 0 / 0 " [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.0002836/0.0002836, allocations: 0 / 0, free: 0 / 0 " [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.09919/0.09919, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.006569/0.006569, allocations: 0 / 0, free: 0 / 0 " [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: simulate(ElectricalEnergyStorage.Examples.Impedance,startTime=0,stopTime=2000,tolerance=1e-06,numberOfIntervals=2000,outputFormat="empty",variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(ElectricalEnergyStorage.Examples.Impedance,startTime=0,stopTime=2000,tolerance=1e-06,numberOfIntervals=2000,outputFormat="empty",variableFilter="",fileNamePrefix="ElectricalEnergyStorage_ElectricalEnergyStorage.Examples.Impedance",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 2.465e-06/2.465e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.886e-05/3.133e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ElectricalEnergyStorage.Examples.Impedance): time 0.003863/0.003894, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00298/0.006874, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/0.007419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0008912/0.00831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.000731/0.009041, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.009617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001838/0.01145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0008627/0.01232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001224/0.01354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0006521/0.01419, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001952/0.01439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.01452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0003187/0.01484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005015/0.01534, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001804/0.01715, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0001964/0.01734, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.084e-06/0.01735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.808e-05/0.01736, allocations: 0 / 0, free: 0 / 0 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.002485/0.01985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001372/0.01999, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002819/0.02027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.001029/0.0213, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.971e-05/0.0214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001517/0.02155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/0.02306, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 2.592e-05/0.02309, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/0.0232, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.02321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006403/0.02385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004456/0.02831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0008151/0.02912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.02935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.66e-05/0.02936, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003631/0.02973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=59): time 5.47e-06/0.02973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=59): time 0.0006018/0.03034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.88e-05/0.03037, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009074/0.03128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.03139, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003291/0.03172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.03184, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001821/0.03202, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.406e-05/0.03206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001642/0.03222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.0324, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0004209/0.03282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.03282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=96) (initialization): time 0.0006308/0.03345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.591e-05/0.03348, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/0.03349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.316e-05/0.03351, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.03402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/0.03403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.03435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.0344, allocations: 0 / 0, free: 0 / 0 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.0004749/0.03487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001171/0.03499, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005499/0.03554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.03554, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.03555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.03556, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001704/0.03726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.03726, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003686/0.03763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.03764, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.564e-05/0.0377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.031e-06/0.0377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.0377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006099/0.03831, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001855/0.0385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000258/0.03876, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.03898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001589/0.03914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/0.03918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0005284/0.03971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.824e-05/0.03973, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0005972/0.04033, allocations: 0 / 0, free: 0 / 0 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.0004006/0.04073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.00053/0.04126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.186e-05/0.04128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001558/0.04143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009273/0.04236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003115/0.04548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.04581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0005037/0.04631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005707/0.04688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.72e-05/0.04692, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.004907/0.05182, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.660212678834796]