Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.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.001421/0.001421, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001495/0.001495, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.346/1.346, allocations: 158.6 MB / 186.1 MB, free: 2.902 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower master/package.mo): time 0.2946/0.2946, allocations: 36.35 MB / 274.7 MB, free: 10.7 MB / 266.7 MB " [Timeout remaining time 180] Using package ThermoPower with version 3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermoPower 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(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.766e-05/1.912e-05, allocations: 2.312 kB / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.002746/0.002765, allocations: 2.737 MB / 355.8 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.003817, allocations: 0.7838 MB / 356.6 MB, free: 252 kB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.003962, allocations: 11.94 kB / 356.6 MB, free: 240 kB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000147/0.004109, allocations: 51.39 kB / 356.6 MB, free: 188 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.004394, allocations: 150.7 kB / 356.8 MB, free: 36 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002663/0.00466, allocations: 115.8 kB / 356.9 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005999/0.00526, allocations: 0.502 MB / 357.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002043/0.005464, allocations: 88.69 kB / 357.5 MB, free: 15.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003879/0.005852, allocations: 275.3 kB / 357.7 MB, free: 15.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.006111, allocations: 147.5 kB / 357.9 MB, free: 14.91 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.463e-05/0.006176, allocations: 35.94 kB / 357.9 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.849e-05/0.006274, allocations: 43.92 kB / 358 MB, free: 14.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.283e-05/0.006367, allocations: 87.59 kB / 358.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.006552, allocations: 151.5 kB / 358.2 MB, free: 14.6 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005192/0.007071, allocations: 394.6 kB / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.007073, allocations: 3.938 kB / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.22e-07/0.007074, allocations: 0 / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.00708, allocations: 0 / 358.6 MB, free: 14.21 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001466/0.008546, allocations: 0.6915 MB / 359.3 MB, free: 13.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.008584, allocations: 8.031 kB / 359.3 MB, free: 13.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002582/0.008842, allocations: 80.61 kB / 359.4 MB, free: 13.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006598/0.009502, allocations: 299.8 kB / 359.7 MB, free: 13.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.22e-05/0.009534, allocations: 25.03 kB / 359.7 MB, free: 13.06 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.448e-05/0.009609, allocations: 36.38 kB / 359.7 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005625/0.01017, allocations: 298.4 kB / 360 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.01019, allocations: 192 / 360 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.691e-05/0.01022, allocations: 15.94 kB / 360 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.125e-05/0.01024, allocations: 8 kB / 360 MB, free: 12.69 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000442/0.01068, allocations: 202.5 kB / 360.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.01247, allocations: 0.9291 MB / 361.2 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.01291, allocations: 231 kB / 361.4 MB, free: 11.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/0.01314, allocations: 116.8 kB / 361.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.685e-05/0.01317, allocations: 4 kB / 361.5 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.01321, allocations: 38.5 kB / 361.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.373e-06/0.01321, allocations: 3.938 kB / 361.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.001947/0.01516, allocations: 0.8048 MB / 362.4 MB, free: 10.27 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.01521, allocations: 55.41 kB / 362.4 MB, free: 10.21 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004471/0.01565, allocations: 345.7 kB / 362.7 MB, free: 9.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.146e-05/0.01568, allocations: 33.7 kB / 362.8 MB, free: 9.816 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001915/0.01588, allocations: 212.6 kB / 363 MB, free: 9.605 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.01601, allocations: 134.9 kB / 363.1 MB, free: 9.473 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.01612, allocations: 66.03 kB / 363.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002087/0.01633, allocations: 346.8 kB / 363.5 MB, free: 9.051 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001965/0.01653, allocations: 88.7 kB / 363.6 MB, free: 8.965 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000235/0.01676, allocations: 137.5 kB / 363.7 MB, free: 8.816 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004399/0.0172, allocations: 243.8 kB / 364 MB, free: 8.562 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.0172, allocations: 0 / 364 MB, free: 8.562 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001093/0.01829, allocations: 429.7 kB / 364.4 MB, free: 8.133 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.01831, allocations: 11.94 kB / 364.4 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.01832, allocations: 4 kB / 364.4 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008858/0.01921, allocations: 144.8 kB / 364.6 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.01969, allocations: 99.88 kB / 364.7 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003889/0.02357, allocations: 3.076 MB / 367.7 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.02381, allocations: 11.98 kB / 367.7 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.02384, allocations: 12 kB / 367.8 MB, free: 4.57 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.02404, allocations: 153.8 kB / 367.9 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.742e-05/0.02414, allocations: 55.7 kB / 368 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005939/0.02473, allocations: 305.9 kB / 368.3 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.02473, allocations: 0 / 368.3 MB, free: 4.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-06/0.02474, allocations: 4 kB / 368.3 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.02474, allocations: 3.984 kB / 368.3 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.02584, allocations: 0.639 MB / 368.9 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.02584, allocations: 0 / 368.9 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004333/0.02628, allocations: 79.95 kB / 369 MB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.615e-06/0.02628, allocations: 4 kB / 369 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.02631, allocations: 8 kB / 369 MB, free: 3.273 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.02631, allocations: 3.938 kB / 369 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.02631, allocations: 0 / 369 MB, free: 3.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007943/0.02711, allocations: 0.5006 MB / 369.5 MB, free: 2.754 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001415/0.02725, allocations: 55.73 kB / 369.6 MB, free: 2.699 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.638e-05/0.02729, allocations: 7.984 kB / 369.6 MB, free: 2.691 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.02752, allocations: 8 kB / 369.6 MB, free: 2.684 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.02759, allocations: 27.95 kB / 369.6 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.001e-05/0.02761, allocations: 11.94 kB / 369.6 MB, free: 2.645 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002958/0.0279, allocations: 247.2 kB / 369.8 MB, free: 2.406 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0279, allocations: 0 / 369.8 MB, free: 2.406 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000398/0.0283, allocations: 88 kB / 369.9 MB, free: 2.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt,torqueGen_a.y,torqueGen_b.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001298/0.02843, allocations: 102.6 kB / 370 MB, free: 2.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009987/0.02943, allocations: 437.2 kB / 370.5 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.02943, allocations: 0 / 370.5 MB, free: 1.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002314/0.02966, allocations: 119.8 kB / 370.6 MB, free: 1.656 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005241/0.03019, allocations: 83.7 kB / 370.7 MB, free: 1.574 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.03199, allocations: 0.9473 MB / 371.6 MB, free: 0.5977 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.03222, allocations: 211.8 kB / 371.8 MB, free: 384 kB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001506/0.03237, allocations: 42.94 kB / 371.9 MB, free: 340 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.03248, allocations: 28.5 kB / 371.9 MB, free: 312 kB / 298.7 MB Notification: Performance of SimCode: time 3.6e-07/0.03248, allocations: 0 / 371.9 MB, free: 312 kB / 298.7 MB Notification: Performance of Templates: time 0.01033/0.04281, allocations: 4.561 MB / 376.4 MB, free: 11.77 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical6.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.553278226987459]