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.001376/0.001376, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001477/0.001477, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.358/1.358, allocations: 158.6 MB / 185.7 MB, free: 6.414 MB / 174.1 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.2745/0.2745, allocations: 36.34 MB / 274.3 MB, free: 0.6211 MB / 254.1 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.152e-06/1.152e-06, allocations: 0 / 414.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.875e-05/1.99e-05, allocations: 2.281 kB / 414.8 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical6): time 0.004068/0.004088, allocations: 2.729 MB / 417.6 MB, free: 8.863 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001486/0.005574, allocations: 0.7914 MB / 418.4 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.005731, allocations: 15.94 kB / 418.4 MB, free: 8.051 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.005891, allocations: 51.39 kB / 418.4 MB, free: 8 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003619/0.006253, allocations: 146.7 kB / 418.6 MB, free: 7.855 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002503/0.006503, allocations: 111.8 kB / 418.7 MB, free: 7.746 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.007062, allocations: 0.502 MB / 419.2 MB, free: 7.242 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002069/0.007269, allocations: 100.7 kB / 419.3 MB, free: 7.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003569/0.007626, allocations: 283.2 kB / 419.5 MB, free: 6.855 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002596/0.007886, allocations: 151.5 kB / 419.7 MB, free: 6.707 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.362e-05/0.007949, allocations: 32 kB / 419.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.008049, allocations: 39.94 kB / 419.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.008143, allocations: 87.59 kB / 419.9 MB, free: 6.551 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.008314, allocations: 147.5 kB / 420 MB, free: 6.406 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004911/0.008805, allocations: 402.6 kB / 420.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.008807, allocations: 0 / 420.4 MB, free: 6.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.008808, allocations: 4 kB / 420.4 MB, free: 6.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.008814, allocations: 0 / 420.4 MB, free: 6.008 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001314/0.01013, allocations: 0.6876 MB / 421.1 MB, free: 5.289 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.045e-05/0.01016, allocations: 8.031 kB / 421.1 MB, free: 5.281 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001424/0.0103, allocations: 52.61 kB / 421.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000483/0.01078, allocations: 299.8 kB / 421.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.472e-05/0.01081, allocations: 21.03 kB / 421.5 MB, free: 4.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.574e-05/0.01088, allocations: 40.33 kB / 421.5 MB, free: 4.855 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005263/0.0114, allocations: 298.5 kB / 421.8 MB, free: 4.547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.858e-05/0.01142, allocations: 4.188 kB / 421.8 MB, free: 4.543 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.228e-05/0.01145, allocations: 15.94 kB / 421.8 MB, free: 4.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.01146, allocations: 8 kB / 421.8 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004128/0.01188, allocations: 202.4 kB / 422 MB, free: 4.32 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001605/0.01348, allocations: 0.9213 MB / 422.9 MB, free: 3.355 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004196/0.0139, allocations: 231 kB / 423.2 MB, free: 3.121 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002163/0.01412, allocations: 104.8 kB / 423.3 MB, free: 3.016 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/0.01414, allocations: 4 kB / 423.3 MB, free: 3.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.918e-05/0.01418, allocations: 42.5 kB / 423.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.01418, allocations: 0 / 423.3 MB, free: 2.961 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.001838/0.01602, allocations: 0.7893 MB / 424.1 MB, free: 2.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.01607, allocations: 55.41 kB / 424.1 MB, free: 2.07 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004246/0.01649, allocations: 353.6 kB / 424.5 MB, free: 1.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.209e-05/0.01652, allocations: 29.7 kB / 424.5 MB, free: 1.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001818/0.01671, allocations: 224.5 kB / 424.7 MB, free: 1.453 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.01681, allocations: 118.9 kB / 424.9 MB, free: 1.336 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.01692, allocations: 70.06 kB / 424.9 MB, free: 1.258 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.01711, allocations: 350.8 kB / 425.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001914/0.0173, allocations: 80.72 kB / 425.3 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002189/0.01752, allocations: 145.4 kB / 425.5 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.01795, allocations: 235.8 kB / 425.7 MB, free: 436 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.01795, allocations: 0 / 425.7 MB, free: 436 kB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000998/0.01895, allocations: 425.3 kB / 426.1 MB, free: 0 / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.01898, allocations: 8.047 kB / 426.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.01898, allocations: 3.938 kB / 426.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/0.0196, allocations: 120.8 kB / 426.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004522/0.02005, allocations: 99.88 kB / 426.4 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003584/0.02363, allocations: 3.06 MB / 429.4 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002304/0.02386, allocations: 19.92 kB / 429.4 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.75e-05/0.02389, allocations: 12 kB / 429.5 MB, free: 12.47 MB / 366.1 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.0001818/0.02407, allocations: 153.8 kB / 429.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.02415, allocations: 47.66 kB / 429.7 MB, free: 12.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005461/0.0247, allocations: 305.9 kB / 429.9 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.0247, allocations: 4 kB / 430 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.353e-06/0.02471, allocations: 0 / 430 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.02471, allocations: 3.984 kB / 430 MB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.02575, allocations: 0.6313 MB / 430.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.02575, allocations: 0 / 430.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004185/0.02617, allocations: 75.95 kB / 430.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.02618, allocations: 8 kB / 430.7 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.0262, allocations: 4 kB / 430.7 MB, free: 11.19 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/0.02621, allocations: 11.94 kB / 430.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.02621, allocations: 0 / 430.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007503/0.02696, allocations: 0.4891 MB / 431.2 MB, free: 10.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001274/0.02709, allocations: 55.67 kB / 431.2 MB, free: 10.62 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.808e-05/0.02714, allocations: 8 kB / 431.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002225/0.02736, allocations: 8 kB / 431.2 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.557e-05/0.02741, allocations: 19.95 kB / 431.3 MB, free: 10.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.02743, allocations: 23.88 kB / 431.3 MB, free: 10.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002775/0.02771, allocations: 243.2 kB / 431.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02771, allocations: 0 / 431.5 MB, free: 10.33 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003924/0.0281, allocations: 92 kB / 431.6 MB, free: 10.24 MB / 366.1 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.0001172/0.02822, allocations: 99.19 kB / 431.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009624/0.02918, allocations: 432.9 kB / 432.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.02919, allocations: 0 / 432.1 MB, free: 9.703 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002252/0.02941, allocations: 119.8 kB / 432.3 MB, free: 9.586 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005267/0.02994, allocations: 77.34 kB / 432.3 MB, free: 9.508 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.03168, allocations: 0.9302 MB / 433.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002158/0.03189, allocations: 215.8 kB / 433.5 MB, free: 8.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001399/0.03203, allocations: 38.95 kB / 433.5 MB, free: 8.281 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001214/0.03215, allocations: 36.48 kB / 433.5 MB, free: 8.242 MB / 366.1 MB Notification: Performance of SimCode: time 3.5e-07/0.03215, allocations: 4 kB / 433.5 MB, free: 8.238 MB / 366.1 MB Notification: Performance of Templates: time 0.01011/0.04227, allocations: 4.519 MB / 438.1 MB, free: 3.723 MB / 366.1 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.667350605130196] Failed to read output from testmodel.py, exit status != 0: 0.050532594323158264 0.065150128 0.053310672 Calling exit ...