Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.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.0014/0.0014, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001457/0.001457, allocations: 165.7 kB / 24.26 MB, free: 148 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.352/1.352, allocations: 158.6 MB / 186.1 MB, free: 2.895 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.2981/0.2981, allocations: 36.34 MB / 274.7 MB, free: 10.71 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.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") translateModel(ThermoPower.Test.ElectricalComponents.TestElectrical5,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.863e-06/1.863e-06, allocations: 0 / 353 MB, free: 3.805 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.72e-05/1.907e-05, allocations: 2.312 kB / 353 MB, free: 3.801 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ThermoPower.Test.ElectricalComponents.TestElectrical5): time 0.002519/0.002538, allocations: 2.466 MB / 355.5 MB, free: 1.312 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009526/0.003491, allocations: 0.7176 MB / 356.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001298/0.003621, allocations: 11.94 kB / 356.2 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001405/0.003761, allocations: 47.52 kB / 356.3 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000262/0.004023, allocations: 134.8 kB / 356.4 MB, free: 404 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001652/0.004188, allocations: 79.88 kB / 356.5 MB, free: 324 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000381/0.004569, allocations: 421.8 kB / 356.9 MB, free: 15.9 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.004734, allocations: 53.7 kB / 357 MB, free: 15.85 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003415/0.005076, allocations: 231.4 kB / 357.2 MB, free: 15.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.005295, allocations: 123.5 kB / 357.3 MB, free: 15.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.38e-05/0.005349, allocations: 24 kB / 357.3 MB, free: 15.48 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.918e-05/0.005428, allocations: 28 kB / 357.4 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.479e-05/0.005503, allocations: 67.67 kB / 357.4 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001443/0.005647, allocations: 111.7 kB / 357.5 MB, free: 15.27 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004392/0.006086, allocations: 314.8 kB / 357.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.006091, allocations: 4 kB / 357.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.849e-06/0.006096, allocations: 3.984 kB / 357.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.006101, allocations: 4 kB / 357.8 MB, free: 14.95 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: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001181/0.007283, allocations: 0.5904 MB / 358.4 MB, free: 14.33 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/0.007318, allocations: 8.031 kB / 358.4 MB, free: 14.32 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001629/0.007481, allocations: 68.66 kB / 358.5 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004646/0.007945, allocations: 257.6 kB / 358.8 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.007974, allocations: 16.88 kB / 358.8 MB, free: 13.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.89e-05/0.008043, allocations: 36.31 kB / 358.8 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004905/0.008533, allocations: 236.2 kB / 359 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.008548, allocations: 4.188 kB / 359 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.008571, allocations: 4.375 kB / 359.1 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.008584, allocations: 11.94 kB / 359.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004276/0.009012, allocations: 177.8 kB / 359.2 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.01027, allocations: 0.7097 MB / 359.9 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003657/0.01063, allocations: 170.6 kB / 360.1 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.01087, allocations: 110.6 kB / 360.2 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.542e-05/0.0109, allocations: 4 kB / 360.2 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.305e-05/0.01094, allocations: 42.98 kB / 360.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=25): time 1.142e-06/0.01094, allocations: 0 / 360.3 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=27): time 0.001548/0.01249, allocations: 0.6768 MB / 360.9 MB, free: 11.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.01253, allocations: 55.34 kB / 361 MB, free: 11.63 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.01291, allocations: 300.6 kB / 361.3 MB, free: 11.33 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.01294, allocations: 29.7 kB / 361.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.0131, allocations: 184.7 kB / 361.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.0132, allocations: 107.1 kB / 361.6 MB, free: 11 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.098e-05/0.01329, allocations: 53.66 kB / 361.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000209/0.0135, allocations: 346.8 kB / 362 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001991/0.0137, allocations: 75.81 kB / 362.1 MB, free: 10.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002285/0.01393, allocations: 122.7 kB / 362.2 MB, free: 10.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004121/0.01434, allocations: 192.1 kB / 362.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.01434, allocations: 0 / 362.4 MB, free: 10.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0007334/0.01507, allocations: 327.2 kB / 362.7 MB, free: 9.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.01509, allocations: 4 kB / 362.7 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01509, allocations: 3.938 kB / 362.7 MB, free: 9.863 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000396/0.01549, allocations: 72.86 kB / 362.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003906/0.01588, allocations: 71.95 kB / 362.8 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002958/0.01884, allocations: 2.783 MB / 365.6 MB, free: 6.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000192/0.01903, allocations: 12.02 kB / 365.6 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.01905, allocations: 12 kB / 365.7 MB, free: 6.703 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (30): * Single equations (assignments): 28 * 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): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001593/0.01921, allocations: 137.8 kB / 365.8 MB, free: 6.559 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.117e-05/0.01929, allocations: 47.81 kB / 365.8 MB, free: 6.512 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005394/0.01983, allocations: 258.6 kB / 366.1 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/0.01984, allocations: 7.984 kB / 366.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.01984, allocations: 0 / 366.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01984, allocations: 0 / 366.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009981/0.02084, allocations: 0.5698 MB / 366.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.02084, allocations: 0 / 366.7 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003454/0.02119, allocations: 79.89 kB / 366.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.02119, allocations: 0 / 366.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.86e-05/0.02121, allocations: 4 kB / 366.7 MB, free: 5.559 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.02121, allocations: 4 kB / 366.8 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.02121, allocations: 0 / 366.8 MB, free: 5.555 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000781/0.02199, allocations: 448.1 kB / 367.2 MB, free: 5.098 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.0221, allocations: 43.84 kB / 367.2 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.02214, allocations: 11.98 kB / 367.2 MB, free: 5.043 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.02234, allocations: 12 kB / 367.3 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.614e-05/0.0224, allocations: 19.95 kB / 367.3 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/0.02242, allocations: 15.88 kB / 367.3 MB, free: 4.996 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002652/0.02268, allocations: 215.1 kB / 367.5 MB, free: 4.785 MB / 298.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.02268, allocations: 0 / 367.5 MB, free: 4.785 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003487/0.02303, allocations: 72 kB / 367.6 MB, free: 4.715 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (gen_a.phi,gen_a.omega_m,gen_a.omega_e_filt,gen_b.phi,gen_b.omega_m,gen_b.omega_e_filt) * 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 (28): * Single equations (assignments): 28 * 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.0001246/0.02315, allocations: 95.25 kB / 367.7 MB, free: 4.613 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009175/0.02407, allocations: 358.2 kB / 368 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.02407, allocations: 0 / 368 MB, free: 4.25 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.0243, allocations: 100 kB / 368.1 MB, free: 4.152 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004785/0.02477, allocations: 83.53 kB / 368.2 MB, free: 4.078 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.02632, allocations: 0.7975 MB / 369 MB, free: 3.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.02653, allocations: 190.8 kB / 369.2 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.02665, allocations: 34.97 kB / 369.2 MB, free: 3.008 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.187e-05/0.02675, allocations: 32.5 kB / 369.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of SimCode: time 3.41e-07/0.02675, allocations: 0 / 369.2 MB, free: 2.977 MB / 298.7 MB Notification: Performance of Templates: time 0.008624/0.03537, allocations: 3.62 MB / 372.9 MB, free: 15.37 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.makefile [Timeout 660] (rm -f ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; mkfifo ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe ; head -c 1048576 < ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe >> ../files/ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.sim & ./ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ThermoPower_ThermoPower.Test.ElectricalComponents.TestElectrical5.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.459542426979169]